Update this flavour for my notebook

This commit is contained in:
2026-01-08 15:34:53 -03:00
parent f3d4395f72
commit c2ae5fbf3d
4 changed files with 114 additions and 3 deletions

View File

@@ -64,7 +64,9 @@ return {
}
},
root_dir = function(path)
local normal = require("lspconfig.util").root_pattern(".git")(vim.fn.getcwd())
-- local normal = require("lspconfig.util").root_pattern(".git")(vim.fn.getcwd())
-- local normal = require("lspconfig.util").root_pattern(".git")(vim.fn.getcwd())
local normal = vim.fs.root(vim.fn.getcwd(), { '.git' })
if normal then
return normal
else