diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/lua/lsp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/lua/lsp.lua b/.config/nvim/lua/lsp.lua index 29ac2de..0f81cf1 100644 --- a/.config/nvim/lua/lsp.lua +++ b/.config/nvim/lua/lsp.lua @@ -47,7 +47,7 @@ cmp.setup.cmdline(":", { -- Setup lspconfig. local cmplsp = require("cmp_nvim_lsp") local capabilities = vim.lsp.protocol.make_client_capabilities() -cmplsp.update_capabilities(vim.lsp.protocol.make_client_capabilities()) +cmplsp.default_capabilities(vim.lsp.protocol.make_client_capabilities()) -- Enable (broadcasting) snippet capability for completion capabilities.textDocument.completion.completionItem.snippetSupport = true |