nvim: lsp: fix lua server and enable more completion
This commit is contained in:
parent
1bdf20f840
commit
e573868c18
|
@ -79,7 +79,7 @@ packer.use {
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
if vim.fn.executable('lua-language-server' > 0) then
|
if vim.fn.executable('lua-language-server') > 0 then
|
||||||
require'lspconfig'.sumneko_lua.setup {
|
require'lspconfig'.sumneko_lua.setup {
|
||||||
settings = {
|
settings = {
|
||||||
Lua = {
|
Lua = {
|
||||||
|
@ -95,6 +95,10 @@ packer.use {
|
||||||
telemetry = {
|
telemetry = {
|
||||||
enable = false,
|
enable = false,
|
||||||
},
|
},
|
||||||
|
completion = {
|
||||||
|
-- complete full function signature
|
||||||
|
callSnippet = 'Replace',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user