summaryrefslogtreecommitdiff
path: root/fnl/plugins/cmp.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-02-08 12:32:56 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-02-08 12:32:56 +0100
commitb745bfda31fe0d0e16b04004f96b207753648b21 (patch)
tree660d38626c8827ba303e9c313b74f2abd87b4512 /fnl/plugins/cmp.fnl
parentd4babc575017a85bfd0e5191771a2f74104c59d6 (diff)
Add noice and inc-rename
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}