Skip to content

Commit

Permalink
Fix wrong use of cmp default_capabilities()
Browse files Browse the repository at this point in the history
  • Loading branch information
michelesr committed Feb 26, 2023
1 parent 56d22de commit 9a61158
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lua/config/lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ local settings = {
}

-- Setup lspconfig.
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities)
local capabilities = require('cmp_nvim_lsp').default_capabilities()

require('mason-lspconfig').setup_handlers({
function(server_name)
Expand Down

0 comments on commit 9a61158

Please sign in to comment.