nvim: Replace cmp.update_capabilities with default_capabilities
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
c1a3511c78
commit
e76e7956a0
|
@ -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 New Issue