diff --git a/nvim/lua/plugins-conf.lua b/nvim/lua/plugins-conf.lua index 3404a7c..1e4fe3b 100644 --- a/nvim/lua/plugins-conf.lua +++ b/nvim/lua/plugins-conf.lua @@ -2,7 +2,7 @@ local lsp = require('lspconfig') local util = lsp.util local lspcap = require('cmp_nvim_lsp') - .update_capabilities(vim.lsp.protocol.make_client_capabilities()) + .default_capabilities(vim.lsp.protocol.make_client_capabilities()) local lspatt = function(_, bufnr) vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc') end