Skip to content

Commit a0bbec2

Browse files
tris203Conni2461
authored andcommitted
fix(builtin.spell_suggest): ciw into black hole register (#3124)
(cherry picked from commit 5665d93)
1 parent 08a2810 commit a0bbec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/telescope/builtin/__internal.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1326,7 +1326,7 @@ internal.spell_suggest = function(opts)
13261326

13271327
action_state.get_current_picker(prompt_bufnr)._original_mode = "i"
13281328
actions.close(prompt_bufnr)
1329-
vim.cmd("normal! ciw" .. selection[1])
1329+
vim.cmd('normal! "_ciw' .. selection[1])
13301330
vim.cmd "stopinsert"
13311331
end)
13321332
return true

0 commit comments

Comments
 (0)