mirror of
https://github.com/neovim/neovim.git
synced 2025-11-30 06:00:42 +00:00
vim-patch:8.0.0282 vim-patch:8.0.0291 (#7255)
vim-patch:8.0.0291
Problem: Visual block insertion does not insert in all lines.
Solution: Don't bail out of insert too early. Add a test. (Christian
Brabandt, closes vim/vim#1290)
23fa81d222
vim-patch:8.0.0282
Problem: When doing a Visual selection and using "I" to go to insert mode,
CTRL-O needs to be used twice to go to Normal mode.
(Coacher)
Solution: Check for the return value of edit(). (Christian Brabandt,
closes #1290)
0b5c93a7f2
This commit is contained in:
committed by
Justin M. Keyes
parent
d173d48177
commit
713a957e9c
@@ -1942,8 +1942,11 @@ void do_pending_operator(cmdarg_T *cap, int old_col, bool gui_yank)
|
||||
* the lines. */
|
||||
auto_format(false, true);
|
||||
|
||||
if (restart_edit == 0)
|
||||
if (restart_edit == 0) {
|
||||
restart_edit = restart_edit_save;
|
||||
} else {
|
||||
cap->retval |= CA_COMMAND_BUSY;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user