diff --git a/lua/lsp.lua b/lua/lsp.lua index 0a2101f..7fab28c 100644 --- a/lua/lsp.lua +++ b/lua/lsp.lua @@ -1,7 +1,7 @@ local on_attach = require'keybindings'.on_attach -- Add additional capabilities supported by nvim-cmp local capabilities = vim.lsp.protocol.make_client_capabilities() -capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities) +capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities) local lspconfig = require('lspconfig')