diff options
author | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-10-16 14:13:53 +0000 |
---|---|---|
committer | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-10-16 14:13:53 +0000 |
commit | 4314042afa494201796377d2bff9b505f28fc7f1 (patch) | |
tree | bd3cf8b472e32ec6d2a1a85022a35c1e97eaa526 /.config/nvim/lua/lsp.lua | |
parent | 151bb53d85eca60cab0e28f99b0c7e8c1fe0b988 (diff) | |
download | dotfiles-4314042afa494201796377d2bff9b505f28fc7f1.tar dotfiles-4314042afa494201796377d2bff9b505f28fc7f1.tar.gz dotfiles-4314042afa494201796377d2bff9b505f28fc7f1.tar.bz2 dotfiles-4314042afa494201796377d2bff9b505f28fc7f1.tar.lz dotfiles-4314042afa494201796377d2bff9b505f28fc7f1.tar.xz dotfiles-4314042afa494201796377d2bff9b505f28fc7f1.tar.zst dotfiles-4314042afa494201796377d2bff9b505f28fc7f1.zip |
Update from deprecated option cmp lsp
Diffstat (limited to '.config/nvim/lua/lsp.lua')
-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 |