diff --git a/lua/telescope/builtin/internal.lua b/lua/telescope/builtin/internal.lua index 4519b93..8d644fb 100644 --- a/lua/telescope/builtin/internal.lua +++ b/lua/telescope/builtin/internal.lua @@ -1233,6 +1233,7 @@ internal.spell_suggest = function(opts) return end + action_state.get_current_picker(prompt_bufnr)._original_mode = "i" actions.close(prompt_bufnr) vim.cmd("normal! ciw" .. selection[1]) vim.cmd "stopinsert"