From b745bfda31fe0d0e16b04004f96b207753648b21 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 8 Feb 2024 12:32:56 +0100 Subject: Add noice and inc-rename --- fnl/plugins/cmp.fnl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'fnl/plugins/cmp.fnl') 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} -- cgit v1.2.3-70-g09d2