Update this flavour for my notebook
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user