Update cmp_lsp.update_capabilities -> cmp_lsp.default_capabilities for neovim
This commit is contained in:
parent
943b245cf4
commit
b82dbede56
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ local lspServers = {
|
||||||
for lspServer, opts in pairs(lspServers) do
|
for lspServer, opts in pairs(lspServers) do
|
||||||
local server_available, requested_server = lsp_installer_servers.get_server(lspServer)
|
local server_available, requested_server = lsp_installer_servers.get_server(lspServer)
|
||||||
if server_available then
|
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
|
opts["on_attach"] = on_attach
|
||||||
lspconfig[lspServer].setup(opts)
|
lspconfig[lspServer].setup(opts)
|
||||||
if not requested_server:is_installed() then
|
if not requested_server:is_installed() then
|
||||||
|
|
Loading…
Reference in a new issue