diff options
| author | fdschmidt93 <39233597+fdschmidt93@users.noreply.github.com> | 2022-05-20 09:18:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-20 09:18:27 +0200 |
| commit | b4c45e8c610c8dc60483b49936dee8a4d0b9c532 (patch) | |
| tree | be1a518af34dbd5e5c65a1edb7cbebb6f356d798 /lua/telescope/pickers.lua | |
| parent | 7bc8efd77bc99f8e0bdf49b68f11ba9de731b45c (diff) | |
fix: exiting picker from insert mode (#1202)
Diffstat (limited to 'lua/telescope/pickers.lua')
| -rw-r--r-- | lua/telescope/pickers.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 {} |
