Skip to content

Commit

Permalink
fix: lspconfig update_capabilities to default_capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
Optixal committed Feb 21, 2023
1 parent 2a96d34 commit 0912115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lspconfig-config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ local on_attach = function(client, bufnr)
end

-- Update nvim-cmp capabilities and add them to each language server
local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
local capabilities = require('cmp_nvim_lsp').default_capabilities()

function add_capabilities()
for _, lsp in ipairs(servers) do
Expand Down

0 comments on commit 0912115

Please sign in to comment.