about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-27 15:55:36 +0900
committersefidel <contact@sefidel.net>2022-02-27 15:55:36 +0900
commitd91ebf6ec4da60143685ba01f0f25bd9d0bafc2c (patch)
treee8c82215d4de1818663f30e23cfe999627965f77
parent5edaebd7f42fa7c090058167dcef8338f59f3d04 (diff)
downloadnvimrc-d91ebf6ec4da60143685ba01f0f25bd9d0bafc2c.tar.gz
nvimrc-d91ebf6ec4da60143685ba01f0f25bd9d0bafc2c.zip
fix(cmp): fix <Tab> not invoking action
-rw-r--r--fnl/nvrc/packs/cmp.fnl2
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)))