diff options
author | sefidel <contact@sefidel.net> | 2023-09-01 22:40:00 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-09-01 22:40:00 +0900 |
commit | be3968e4bcce75e64ced71a35d26c8d985161720 (patch) | |
tree | e7012e69a27b1ce68725ddc92f06fdfa41b8c42e /fnl/nvrc/packs | |
parent | e893af5316063fb16977f400031bd6fe503c72db (diff) | |
download | nvimrc-be3968e4bcce75e64ced71a35d26c8d985161720.tar.gz nvimrc-be3968e4bcce75e64ced71a35d26c8d985161720.zip |
fix(packs/cmp): fix no completions on cmdline mode
Diffstat (limited to 'fnl/nvrc/packs')
-rw-r--r-- | fnl/nvrc/packs/cmp.fnl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fnl/nvrc/packs/cmp.fnl b/fnl/nvrc/packs/cmp.fnl index ef3d5eb..b49a1c8 100644 --- a/fnl/nvrc/packs/cmp.fnl +++ b/fnl/nvrc/packs/cmp.fnl @@ -62,13 +62,11 @@ :<Tab> (mapping {:i (fn [fallback] (if (visible) (select_next_item) (luasnip.expand_or_jumpable) (luasnip.expand_or_jump) - (fallback))) - :c (mapping.select_prev_item {:select true})}) + (fallback)))}) :<S-Tab> (mapping {:i (fn [fallback] (if (visible) (select_next_item) (luasnip.jumpable -1) (luasnip.jump -1) - (fallback))) - :c (mapping.select_prev_item {:select true})})} + (fallback)))})} :sources [{:name :nvim_lsp} {:name :nvim_lsp_signature_help}] :sorting {:comparators [compare.offset |