Skip to content

Commit

Permalink
fix(builtin.spell_suggest): ciw into black hole register (#3124)
Browse files Browse the repository at this point in the history
(cherry picked from commit 5665d93)
  • Loading branch information
tris203 authored and Conni2461 committed May 24, 2024
1 parent 08a2810 commit a0bbec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/telescope/builtin/__internal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@ internal.spell_suggest = function(opts)

action_state.get_current_picker(prompt_bufnr)._original_mode = "i"
actions.close(prompt_bufnr)
vim.cmd("normal! ciw" .. selection[1])
vim.cmd('normal! "_ciw' .. selection[1])
vim.cmd "stopinsert"
end)
return true
Expand Down

0 comments on commit a0bbec2

Please sign in to comment.