From f4b55b2c03f68734e7170d05785f6db278d87046 Mon Sep 17 00:00:00 2001
From: sefidel <contact@sefidel.net>
Date: Fri, 20 Dec 2024 00:23:21 +0900
Subject: feat(packs/lspconfig): add blink.cmp capabilities

---
 fnl/nvrc/packs/lspconfig.fnl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fnl/nvrc/packs/lspconfig.fnl b/fnl/nvrc/packs/lspconfig.fnl
index bc30688..1f957ba 100644
--- a/fnl/nvrc/packs/lspconfig.fnl
+++ b/fnl/nvrc/packs/lspconfig.fnl
@@ -10,7 +10,8 @@
         autocmd CursorMoved <buffer> lua vim.lsp.buf.clear_references()
         augroup END" false))))
 
-(local default_capabilities (vim.lsp.protocol.make_client_capabilities))
+(local default_capabilities (merge (vim.lsp.protocol.make_client_capabilities)
+                                   ((. (require :blink.cmp) :get_lsp_capabilities))))
 
 (fn init_lsp [lsp-name ?opts]
   "initialize a language server with defaults"
-- 
cgit 1.4.1