lspconfig: clean up

This commit is contained in:
siduck76 2021-04-23 18:14:23 +05:30
parent 5716759f40
commit bbe48d229d

View file

@ -43,9 +43,7 @@ local servers = {"html", "cssls", "tsserver", "pyright"}
for k, lang in pairs(servers) do
lspconf[lang].setup {
root_dir = function()
return vim.loop.cwd()
end
root_dir = vim.loop.cwd
}
end