summaryrefslogtreecommitdiff
path: root/fnl/plugins/cmp.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/plugins/cmp.fnl')
-rw-r--r--fnl/plugins/cmp.fnl10
1 files changed, 9 insertions, 1 deletions
diff --git a/fnl/plugins/cmp.fnl b/fnl/plugins/cmp.fnl
index ca09329..1662afb 100644
--- a/fnl/plugins/cmp.fnl
+++ b/fnl/plugins/cmp.fnl
@@ -61,6 +61,14 @@
"│"]}}
:confirm_opts {:behavior cmp.ConfirmBehavior.Replace
:select false}
- :experimental {:ghost_text false :native_menu false}})))
+ :experimental {:ghost_text false :native_menu false}})
+ (cmp.setup.cmdline "/"
+ {:mapping (cmp.mapping.preset.cmdline)
+ :sources [{:name :buffer}]})
+ (cmp.setup.cmdline ":"
+ {:mapping (cmp.mapping.preset.cmdline)
+ :sources [{:name :path}
+ {:name :cmdline
+ :option {:ignore_cmds [:Man "!"]}}]})))
{1 :hrsh7th/nvim-cmp : dependencies :event :InsertEnter : config}