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

View File

@ -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()