nvim: Update deprecated cmp lsp method

This commit is contained in:
Marty Oehme 2022-11-01 16:03:07 +01:00
parent 26c3124e95
commit 03a4148796
Signed by: Marty
GPG key ID: 73BA40D5AFAF49C9

View file

@ -88,5 +88,5 @@ cmp.setup.cmdline(':', {
sources = cmp.config.sources({ { name = 'path' } }, { { name = 'cmdline' } })
})
require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol
require('cmp_nvim_lsp').default_capabilities(vim.lsp.protocol
.make_client_capabilities())