nvim: Update for cmp_nvim_lsp
This commit is contained in:
parent
751e824d57
commit
68dec1615c
|
@ -42,7 +42,7 @@ cmp.setup({
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Rewrite LSP capabilities (to enable completion)
|
-- 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
|
-- Use an on_attach function to only map the following keys
|
||||||
-- after the language server attaches to the current buffer
|
-- after the language server attaches to the current buffer
|
||||||
|
|
Loading…
Reference in New Issue