nvim: Replace cmp.update_capabilities with default_capabilities
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
c1a3511c78
commit
e76e7956a0
1 changed files with 1 additions and 3 deletions
|
@ -90,9 +90,7 @@ local on_attach = function(client, bufnr)
|
|||
vim.keymap.set('n', '<space>f', vim.lsp.buf.formatting, bufopts)
|
||||
end
|
||||
|
||||
|
||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities)
|
||||
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
||||
|
||||
local lspconfig = require("lspconfig")
|
||||
local servers = { "rnix", "pyright", "rust_analyzer" }
|
||||
|
|
Loading…
Reference in a new issue