mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-26 05:11:45 +00:00
lsp.update_ is deprecated
This commit is contained in:
parent
ce463f704b
commit
489b56d0c4
2
init.lua
2
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()
|
||||
|
Loading…
Reference in New Issue
Block a user