From 130bb147c618ac75fd44343afe12440f95df45d0 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 11 Jan 2025 14:07:43 +0100 Subject: Fix blink cfg --- fnl/plugins/cmp.fnl | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'fnl') diff --git a/fnl/plugins/cmp.fnl b/fnl/plugins/cmp.fnl index 076cc57..2723f87 100644 --- a/fnl/plugins/cmp.fnl +++ b/fnl/plugins/cmp.fnl @@ -7,22 +7,18 @@ :documentation {:window {:border :none :scrollbar false}}} :signature {:enabled false :window {:scrollbar false}} - :sources {:default [:lsp :path :snippets :buffer :luasnip :dadbod] + :sources {:default [:lsp :path :snippets :buffer :dadbod] :providers {:lsp {:name :LSP :module :blink.cmp.sources.lsp :fallbacks [:snippets :luasnip :buffer] :score_offset 96} - :luasnip {:name :Luasnip - :module :blink.cmp.sources.luasnip - :min_keyword_length 2 - :fallbacks [:snippets] - :score_offset 90} :dadbod {:name :Dadbod :module :vim_dadbod_completion.blink :score_offset 88}}} - :snippets {:expand (λ [snippet] + :snippets {:preset :luasnip + :expand (λ [snippet] (let [luasnip (require :luasnip)] (luasnip.lsp_expand snippet))) :active (fn [filter] -- cgit v1.2.3-70-g09d2