summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2025-01-11 14:07:43 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2025-01-11 14:07:43 +0100
commit130bb147c618ac75fd44343afe12440f95df45d0 (patch)
tree2820a61939b4cef4c389626de21e4da1986973de /fnl
parentd1d27ce7b3c5acd7b87843289ca48eb5b5e84546 (diff)
Fix blink cfg
Diffstat (limited to 'fnl')
-rw-r--r--fnl/plugins/cmp.fnl10
1 files changed, 3 insertions, 7 deletions
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]