From b4c45e8c610c8dc60483b49936dee8a4d0b9c532 Mon Sep 17 00:00:00 2001 From: fdschmidt93 <39233597+fdschmidt93@users.noreply.github.com> Date: Fri, 20 May 2022 09:18:27 +0200 Subject: fix: exiting picker from insert mode (#1202) --- lua/telescope/pickers.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'lua/telescope/pickers.lua') diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua index e7c4c7c..c4aa6fc 100644 --- a/lua/telescope/pickers.lua +++ b/lua/telescope/pickers.lua @@ -1416,6 +1416,7 @@ end function pickers.on_close_prompt(prompt_bufnr) local status = state.get_status(prompt_bufnr) local picker = status.picker + require("telescope.actions.state").get_current_history():reset() if type(picker.cache_picker) == "table" then local cached_pickers = state.get_global_key "cached_pickers" or {} -- cgit v1.2.3