replaced deprecated sumneko_lua with lua_ls
This commit is contained in:
parent
87f05bf93a
commit
9ffb1b55fe
|
@ -90,7 +90,7 @@ lsp.ccls.setup {
|
||||||
local runtime_path = vim.split(package.path, ';')
|
local runtime_path = vim.split(package.path, ';')
|
||||||
table.insert(runtime_path, "lua/?.lua")
|
table.insert(runtime_path, "lua/?.lua")
|
||||||
table.insert(runtime_path, "lua/?/init.lua")
|
table.insert(runtime_path, "lua/?/init.lua")
|
||||||
lsp.sumneko_lua.setup {
|
lsp.lua_ls.setup {
|
||||||
capabilities = lspcap,
|
capabilities = lspcap,
|
||||||
on_attach = lspatt,
|
on_attach = lspatt,
|
||||||
cmd = { "lua-language-server", "-E" },
|
cmd = { "lua-language-server", "-E" },
|
||||||
|
|
Loading…
Reference in New Issue