Skip to content

Commit

Permalink
[vim] Update for deprecation in cmp-nvim-lsp
Browse files Browse the repository at this point in the history
  • Loading branch information
rouge8 committed Nov 6, 2022
1 parent b6a108d commit dcff215
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .config/nvim.symlink/lua/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ local on_attach = function(client, bufnr)
vim.keymap.set("v", "<leader>f", vim.lsp.buf.range_formatting, bufopts)
end

local capabilities = require("cmp_nvim_lsp").update_capabilities(
vim.lsp.protocol.make_client_capabilities()
)
local capabilities = require("cmp_nvim_lsp").default_capabilities()

-- Rust
nvim_lsp.rust_analyzer.setup({
Expand Down

0 comments on commit dcff215

Please sign in to comment.