Skip to content

Commit

Permalink
breaking changes: fix cmp_nvim_lsp.update_capabilities is deprecated h…
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio M committed Oct 19, 2022
1 parent 066d433 commit 38383bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lsp-config/language-servers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ local servers = {

---@diagnostic disable-next-line: undefined-global
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities)
capabilities = require("cmp_nvim_lsp").default_capabilities()

for _, name in pairs(servers) do
local server_is_found, server = lsp_installer.get_server(name)
Expand Down

0 comments on commit 38383bc

Please sign in to comment.