fix lua lsp cmd error

This commit is contained in:
siduck76 2021-06-02 06:50:40 +05:30
parent a38c4543aa
commit 742c57fea5
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ local function setup_servers()
root_dir = vim.loop.cwd
}
elseif lang == "lua" then
lspconf.sumneko_lua.setup {
lspconf[lang].setup {
root_dir = function()
return vim.loop.cwd()
end,