Skip to content

Commit

Permalink
[nvim]: Use default_capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
askoufis committed Oct 16, 2022
1 parent 8cd815b commit c43ccb6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nvim/.config/nvim/lua/user/lsp/handlers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,8 @@ M.on_attach = function(options)
end
end

local capabilities = vim.lsp.protocol.make_client_capabilities()

local cmp_nvim_lsp = require('cmp_nvim_lsp')

M.capabilities = cmp_nvim_lsp.update_capabilities(capabilities)
M.capabilities = cmp_nvim_lsp.default_capabilities()

return M

0 comments on commit c43ccb6

Please sign in to comment.