1
0
Fork 0

nvim: update lua ls config

This commit is contained in:
tastytea 2023-12-30 20:56:19 +01:00
parent 0e660f9eeb
commit e23594f3a6
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 3 additions and 1 deletions

View File

@ -149,8 +149,10 @@ if vim.fn.executable('clangd') > 0 then
})
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
lspconfig.sumneko_lua.setup({
lspconfig.lua_ls.setup({
settings = {
Lua = {
runtime = {