summaryrefslogtreecommitdiff
path: root/fnl/plugins
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-12-26 00:26:01 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-12-26 00:26:01 +0100
commit868720f04a6595625d19ca8bf9152e4f4959b62b (patch)
tree6628d1df4a911918e0057bd811cd53c19a252066 /fnl/plugins
parent655866b33acdeb66f67d0bdee2f46346a8b2da8e (diff)
Remove border cmp
Diffstat (limited to 'fnl/plugins')
-rw-r--r--fnl/plugins/cmp.fnl11
1 files changed, 6 insertions, 5 deletions
diff --git a/fnl/plugins/cmp.fnl b/fnl/plugins/cmp.fnl
index d728b9d..9a799d9 100644
--- a/fnl/plugins/cmp.fnl
+++ b/fnl/plugins/cmp.fnl
@@ -3,8 +3,9 @@
(local opts {:keymap {:preset :default}
:appearance {:use_nvim_cmp_as_default true
:nerd_font_variant :mono}
- :completion {:menu {:scrollbar false}
- :documentation {:window {:scrollbar false}}}
+ :completion {:menu {:scrollbar false :border :none}
+ :documentation {:window {:border :none
+ :scrollbar false}}}
:signature {:enabled false :window {:scrollbar false}}
:sources {:default [:lsp :path :snippets :buffer :luasnip :dadbod]
:providers {:lsp {:name :LSP
@@ -12,15 +13,15 @@
:fallbacks [:snippets
:luasnip
:buffer]
- :score_offset 80}
+ :score_offset 96}
:luasnip {:name :Luasnip
:module :blink.cmp.sources.luasnip
:min_keyword_length 2
:fallbacks [:snippets]
- :score_offset 85}
+ :score_offset 90}
:dadbod {:name :Dadbod
:module :vim_dadbod_completion.blink
- :score_offset 80}}}
+ :score_offset 88}}}
:snippets {:expand (λ [snippet]
(let [luasnip (require :luasnip)]
(luasnip.lsp_expand snippet)))