diff options
author | sefidel <contact@sefidel.net> | 2022-02-27 15:55:36 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-02-27 15:55:36 +0900 |
commit | d91ebf6ec4da60143685ba01f0f25bd9d0bafc2c (patch) | |
tree | e8c82215d4de1818663f30e23cfe999627965f77 /fnl | |
parent | 5edaebd7f42fa7c090058167dcef8338f59f3d04 (diff) | |
download | nvimrc-d91ebf6ec4da60143685ba01f0f25bd9d0bafc2c.tar.gz nvimrc-d91ebf6ec4da60143685ba01f0f25bd9d0bafc2c.zip |
fix(cmp): fix <Tab> not invoking action
Diffstat (limited to 'fnl')
-rw-r--r-- | fnl/nvrc/packs/cmp.fnl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fnl/nvrc/packs/cmp.fnl b/fnl/nvrc/packs/cmp.fnl index 0ff8dc2..616a39d 100644 --- a/fnl/nvrc/packs/cmp.fnl +++ b/fnl/nvrc/packs/cmp.fnl @@ -49,7 +49,7 @@ :<C-e> (cmp.mapping.close) :<CR> (cmp.mapping (cmp.mapping.confirm {:behavior cmp.ConfirmBehavior.Replace :select false}) [:i :c]) - :Tab (cmp.mapping {:i (fn [fallback] + :<Tab> (cmp.mapping {:i (fn [fallback] (if (cmp.visible) (cmp.select_next_item) (luasnip.expand_or_jumpable) (luasnip.expand_or_jump) (fallback))) |