fix(builtin.spell_suggest): ciw into black hole register (#3124)
This commit is contained in:
@@ -1380,7 +1380,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
|
||||
|
||||
Reference in New Issue
Block a user