nvim: Update for cmp_nvim_lsp
This commit is contained in:
parent
751e824d57
commit
68dec1615c
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ cmp.setup({
|
|||
})
|
||||
|
||||
-- Rewrite LSP capabilities (to enable completion)
|
||||
local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
|
||||
local capabilities = require('cmp_nvim_lsp').default_capabilities(vim.lsp.protocol.make_client_capabilities())
|
||||
|
||||
-- Use an on_attach function to only map the following keys
|
||||
-- after the language server attaches to the current buffer
|
||||
|
|
Loading…
Add table
Reference in a new issue