summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolas Bertrand <code@nikolasbertrand.com>2022-11-17 20:37:26 +0100
committerTJ DeVries <devries.timothyj@gmail.com>2022-11-18 15:16:33 -0500
commit489b56d0c49050afeb3ed41f4d851eeac7919c3d (patch)
tree755f5db596d148340f8bddb2e4ec7eb6e7bbf30e
parentce463f704bd0c3499acf1f2db49ba2cace37be5a (diff)
lsp.update_ is deprecated
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 856a4fb..346427f 100644
--- a/init.lua
+++ b/init.lua
@@ -302,7 +302,7 @@ local on_attach = function(_, bufnr)
end
-- nvim-cmp supports additional completion capabilities
-local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
+local capabilities = require('cmp_nvim_lsp').default_capabilities(vim.lsp.protocol.make_client_capabilities())
-- Setup mason so it can manage external tooling
require('mason').setup()