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 { lspconfig[lang].setup {
on_attach = on_attach, on_attach = on_attach,
capabilities = capabilities, capabilities = capabilities,
root_dir = vim.loop.cwd, -- root_dir = vim.loop.cwd,
} }
elseif lang == "lua" then elseif lang == "lua" then
lspconfig[lang].setup { lspconfig[lang].setup {