feat(config): added new plugins

This commit is contained in:
2024-02-11 22:45:25 +03:00
parent a75ccc662c
commit 0b8227060e
27 changed files with 663 additions and 464 deletions

View File

@@ -1,9 +1,16 @@
-- Options are automatically loaded before lazy.nvim startup
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
-- Add any additional options here
vim.opt.guifont = "VictorMono Nerd Font:h12"
vim.g.mapleader = " "
vim.g.snippets = "luasnip"
-- highlight blade
vim.g.blade_custom_directives_pairs = {
livewire = "endlivewire",
error = "enderror",
}
vim.o.langmap =
"ФИСВУАПРШОЛДЬТЩЗЙКЫЕГМЦЧНЯ;ABCDEFGHIJKLMNOPQRSTUVWXYZ,фисвуапршолдьтщзйкыегмцчня;abcdefghijklmnopqrstuvwxyz"
@@ -12,11 +19,13 @@ vim.o.spelllang = "ru_ru,en_us"
vim.o.linebreak = true
vim.g.autoformat = false
vim.o.background = "dark" -- or "light" for light mode
local opt = vim.o
opt.mouse = ""
opt.number = true
opt.relativenumber = true
-- opt.relativenumber = true
opt.conceallevel = 3
opt.hidden = true
opt.expandtab = true
@@ -28,7 +37,7 @@ opt.errorbells = false
opt.wrap = false
opt.swapfile = false
opt.undofile = true
opt.undodir = os.getenv "HOME" .. "/.cache/nvim/undodir"
opt.undodir = os.getenv("HOME") .. "/.cache/nvim/undodir"
opt.hlsearch = false
opt.incsearch = true
opt.ignorecase = true
@@ -50,5 +59,6 @@ opt.signcolumn = "yes"
opt.equalalways = false
opt.splitkeep = "screen"
opt.shortmess = "filnxtToOFWIcC"
opt.termguicolors = true
require("lazyvim.util").get_root = vim.loop.cwd