feat(nvim): some devops stuff, additions and optimizations for nvim

This commit is contained in:
ITQ
2026-05-15 20:48:46 +03:00
parent b4e15131d1
commit 1273a6cd74
16 changed files with 334 additions and 142 deletions
+6 -1
View File
@@ -1,6 +1,12 @@
vim.g.mapleader = " "
vim.g.maplocalleader = " "
local mason_bin = vim.fn.stdpath("data") .. "/mason/bin"
local path = vim.env.PATH or ""
if not string.find(path, mason_bin, 1, true) then
vim.env.PATH = mason_bin .. ":" .. path
end
local opt = vim.opt
opt.number = true
opt.relativenumber = true
@@ -28,4 +34,3 @@ opt.timeoutlen = 400
opt.clipboard = "unnamedplus"
opt.undofile = true