chore(nvim): change root_spec

This turns of the annoying root detection in mono repositories with multiple package.json
This commit is contained in:
Stefan Imhoff
2024-03-07 10:57:58 +01:00
parent 8b11e562c8
commit 802652c14f

View File

@@ -25,6 +25,9 @@ vim.opt.iskeyword:append("-") -- Add dashes to words
vim.opt.wildignore:append({ "*/node_modules/*" }) -- Wildignore
vim.opt.complete:append({ "i", "k", "s", "kspell" })
-- Only the project root should be the root
vim.g.root_spec = { ".git" }
-- Undercurl
vim.cmd([[let &t_Cs = "\e[4:3m"]])
vim.cmd([[let &t_Ce = "\e[4:0m"]])