summaryrefslogtreecommitdiff
path: root/fnl/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/plugins')
-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]