lsp.update_ is deprecated

This commit is contained in:
Nikolas Bertrand 2022-11-17 20:37:26 +01:00 committed by TJ DeVries
parent ce463f704b
commit 489b56d0c4
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ local on_attach = function(_, bufnr)
end end
-- nvim-cmp supports additional completion capabilities -- 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 -- Setup mason so it can manage external tooling
require('mason').setup() require('mason').setup()