diff --git a/lua/kickstart/plugins/telescope.lua b/lua/kickstart/plugins/telescope.lua index 6f84876..a8bec96 100644 --- a/lua/kickstart/plugins/telescope.lua +++ b/lua/kickstart/plugins/telescope.lua @@ -214,7 +214,7 @@ return { end) end - map({ 'n', 'i' }, '', function(prompt_bufnr) + local function git_drop_stash(prompt_bufnr) local picker = action_state.get_current_picker(prompt_bufnr) local selection = picker:get_multi_selection() @@ -258,7 +258,8 @@ return { -- refresh picker actions.close(prompt_bufnr) vim.schedule(git_stash_mappings) - end, { desc = 'git_drop_stash' }) + end + map({ 'n', 'i' }, '', git_drop_stash) return true end, }