nvim: update lua ls config
This commit is contained in:
parent
0e660f9eeb
commit
e23594f3a6
|
@ -149,8 +149,10 @@ if vim.fn.executable('clangd') > 0 then
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- TODO: re-check config recommendation, looks like some things changed
|
||||||
|
-- <https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#lua_ls>
|
||||||
if vim.fn.executable('lua-language-server') > 0 then
|
if vim.fn.executable('lua-language-server') > 0 then
|
||||||
lspconfig.sumneko_lua.setup({
|
lspconfig.lua_ls.setup({
|
||||||
settings = {
|
settings = {
|
||||||
Lua = {
|
Lua = {
|
||||||
runtime = {
|
runtime = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user