mirror of
https://github.com/nvim-telescope/telescope.nvim
synced 2024-09-16 21:24:02 +02:00
fix(builtin.spell_suggest): ciw into black hole register (#3124)
(cherry picked from commit 5665d93988
)
This commit is contained in:
parent
08a28108c2
commit
a0bbec2114
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue