1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

switch back to nvim-cmp (#381)

This commit is contained in:
jdhao
2025-02-16 21:03:17 +01:00
committed by GitHub
parent ab059bbb6d
commit 2383eb7075
2 changed files with 4 additions and 3 deletions

View File

@@ -117,7 +117,7 @@ local custom_attach = function(client, bufnr)
end
end
local capabilities = require("cmp_nvim_lsp").default_capabilities()
local capabilities = vim.lsp.protocol.make_client_capabilities()
-- required by nvim-ufo
capabilities.textDocument.foldingRange = {