diff options
Diffstat (limited to 'fnl/plugins/blink.fnl')
-rw-r--r-- | fnl/plugins/blink.fnl | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/fnl/plugins/blink.fnl b/fnl/plugins/blink.fnl new file mode 100644 index 0000000..a7fe877 --- /dev/null +++ b/fnl/plugins/blink.fnl @@ -0,0 +1,39 @@ +(local blink (_G.util.require! :blink.cmp)) +(blink.setup { + :keymap { + :<Tab> [ :select_next :fallback ] + } + + :cmdline { + :enabled false + } + + :completion { + :documentation { + :auto_show true + :auto_show_delay_ms 350 + } + :menu { + :draw { + :components { + :label { + :text (fn [ctx] + ((. (require "colorful-menu") :blink_components_text) ctx)) + :highlight (fn [ctx] + ((. (require "colorful-menu") :blink_components_highlight) ctx)) + } + } + :treesitter [ :lsp ] + } + } + :list { + :selection { + :preselect false + } + } + } + + :fuzzy { + :implementation :lua + } +}) |