Update cmp_lsp.update_capabilities -> cmp_lsp.default_capabilities for neovim

This commit is contained in:
Tony Blyler 2022-12-01 17:53:54 -05:00
parent 943b245cf4
commit b82dbede56
No known key found for this signature in database

View file

@ -102,7 +102,7 @@ local lspServers = {
for lspServer, opts in pairs(lspServers) do
local server_available, requested_server = lsp_installer_servers.get_server(lspServer)
if server_available then
opts["capabilities"] = cmp_lsp.update_capabilities(vim.lsp.protocol.make_client_capabilities())
opts["capabilities"] = cmp_lsp.default_capabilities(vim.lsp.protocol.make_client_capabilities())
opts["on_attach"] = on_attach
lspconfig[lspServer].setup(opts)
if not requested_server:is_installed() then