1
0
Fork 0
mirror of https://github.com/CompeyDev/my-nvim-setup.git synced 2025-04-10 01:30:53 +01:00

avoid setting root_dir for lspservers

This commit is contained in:
siduck76 2021-08-21 11:04:07 +05:30
parent 6206a9e27b
commit b5668a037a

View file

@ -53,7 +53,7 @@ local function setup_servers()
lspconfig[lang].setup {
on_attach = on_attach,
capabilities = capabilities,
root_dir = vim.loop.cwd,
-- root_dir = vim.loop.cwd,
}
elseif lang == "lua" then
lspconfig[lang].setup {