fix: use non-deprecated method for capabilities
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
7ef4a0e74b
commit
b2cc90000f
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ cmp.setup.cmdline(':', {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
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())
|
||||||
|
|
||||||
local on_attach = function(client, bufnr)
|
local on_attach = function(client, bufnr)
|
||||||
local opts = { noremap = true, silent = true }
|
local opts = { noremap = true, silent = true }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue