nvim: Update deprecated cmp lsp method
This commit is contained in:
parent
26c3124e95
commit
03a4148796
1 changed files with 2 additions and 2 deletions
|
@ -88,5 +88,5 @@ cmp.setup.cmdline(':', {
|
||||||
sources = cmp.config.sources({ { name = 'path' } }, { { name = '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())
|
.make_client_capabilities())
|
||||||
|
|
Loading…
Reference in a new issue