nvim: Replace cmp.update_capabilities with default_capabilities
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Sijmen 2022-10-18 15:36:15 +02:00
parent c1a3511c78
commit e76e7956a0
Signed by: vijfhoek
GPG Key ID: DAF7821E067D9C48
1 changed files with 1 additions and 3 deletions

View File

@ -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" }