diff --git a/lua/plugins/snippets.lua b/lua/plugins/snippets.lua index 793de87..870d62b 100644 --- a/lua/plugins/snippets.lua +++ b/lua/plugins/snippets.lua @@ -22,15 +22,15 @@ return { luasnip.jump(-1) end end, { silent = true }) - -- vim.keymap.set('s', '', function() - -- if luasnip.choice_active() then - -- luasnip.change_choice(1) - -- end - -- end, { silent = true }) - -- vim.keymap.set('s', '', function() - -- if luasnip.choice_active() then - -- luasnip.change_choice(-1) - -- end - -- end, { silent = true }) + vim.keymap.set({ "i", "s" }, "", function() + if luasnip.choice_active() then + luasnip.change_choice(1) + end + end, { silent = true }) + vim.keymap.set({ "i", "s" }, "", function() + if luasnip.choice_active() then + luasnip.change_choice(-1) + end + end, { silent = true }) end }