From 003b21050c16a441d5322bfeaedf3c4bb73050dd Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 27 Feb 2022 16:02:14 +0900 Subject: feat(pack): add cmp-buffer, cmp-rg --- fnl/nvrc/packs/cmp.fnl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'fnl/nvrc/packs') diff --git a/fnl/nvrc/packs/cmp.fnl b/fnl/nvrc/packs/cmp.fnl index 616a39d..06c3ea4 100644 --- a/fnl/nvrc/packs/cmp.fnl +++ b/fnl/nvrc/packs/cmp.fnl @@ -38,7 +38,9 @@ (. icons vim-item.kind) vim-item.kind)) (set vim-item.menu - (. {:nvim_lsp "[LSP]"} + (. {:nvim_lsp "[LSP]" + :buffer "[BUF]" + :rg "[RG]"} entry.source.name)) vim-item)} :mapping {: (cmp.mapping.select_prev_item) @@ -60,4 +62,6 @@ (fallback))) :c (cmp.mapping.select_prev_item {:select true})})} :sources [{:name :nvim_lsp} - {:name :nvim_lsp_signature_help}]}) + {:name :nvim_lsp_signature_help} + {:name :buffer} + {:name :rg}]}) -- cgit 1.4.1