From e573868c1892e78c84a82983f81b4d1902ede255 Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 12 Aug 2022 14:52:24 +0200 Subject: [PATCH] nvim: lsp: fix lua server and enable more completion --- .config/nvim/lua/my/lsp.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/my/lsp.lua b/.config/nvim/lua/my/lsp.lua index 3cace7b..39bd26f 100644 --- a/.config/nvim/lua/my/lsp.lua +++ b/.config/nvim/lua/my/lsp.lua @@ -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,