Skip to content

Commit

Permalink
Fix cmp-nvim-lsp breaking change in hrsh7th/cmp-nvim-lsp#38
Browse files Browse the repository at this point in the history
  • Loading branch information
marcfyk committed Oct 16, 2022
1 parent 3ed2c95 commit 6818f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .config/nvim/after/plugin/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ cmp.setup.cmdline(":", {
})

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

-- Mappings.
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
Expand Down

0 comments on commit 6818f9d

Please sign in to comment.