Skip to content

Commit

Permalink
cmp.update_capabilities -> cmp.default_capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
foxyseta committed Oct 16, 2022
1 parent b96d6bf commit e5a6a1c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lua/visimp/layers/cmp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@ function L.preload()
if L.config.lsp then
vim.cmd('packadd cmp-nvim-lsp')
loader.get('lsp').on_capabilities(
get_module('cmp_nvim_lsp').update_capabilities(
vim.lsp.protocol.make_client_capabilities()
)
get_module('cmp_nvim_lsp').update_capabilities()
)
end
end
Expand Down

0 comments on commit e5a6a1c

Please sign in to comment.