1
0
Fork 0

nvim: lsp: fix lua server and enable more completion

This commit is contained in:
tastytea 2022-08-12 14:52:24 +02:00
parent 1bdf20f840
commit e573868c18
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 5 additions and 1 deletions

View File

@ -79,7 +79,7 @@ packer.use {
}
end
if vim.fn.executable('lua-language-server' > 0) then
if vim.fn.executable('lua-language-server') > 0 then
require'lspconfig'.sumneko_lua.setup {
settings = {
Lua = {
@ -95,6 +95,10 @@ packer.use {
telemetry = {
enable = false,
},
completion = {
-- complete full function signature
callSnippet = 'Replace',
},
},
},
on_attach = on_attach,