feat: use lazydev blink source

This commit is contained in:
Folke Lemaitre 2024-11-01 16:32:42 +01:00
parent 55f1bc79b1
commit 488ae9efb9
2 changed files with 27 additions and 23 deletions

View file

@ -184,11 +184,13 @@ return {
local servers = opts.servers
local has_cmp, cmp_nvim_lsp = pcall(require, "cmp_nvim_lsp")
local has_blink, blink = pcall(require, "blink.cmp")
local capabilities = vim.tbl_deep_extend(
"force",
{},
vim.lsp.protocol.make_client_capabilities(),
has_cmp and cmp_nvim_lsp.default_capabilities() or {},
has_blink and blink.get_lsp_capabilities() or {},
opts.capabilities or {}
)