mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 13:58:18 +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
@@ -2060,7 +2060,7 @@ void op_insert(oparg_T *oap, long count1)
|
||||
}
|
||||
|
||||
t1 = oap->start;
|
||||
edit(NUL, false, (linenr_T)count1);
|
||||
(void)edit(NUL, false, (linenr_T)count1);
|
||||
|
||||
// When a tab was inserted, and the characters in front of the tab
|
||||
// have been converted to a tab as well, the column of the cursor
|
||||
|
Reference in New Issue
Block a user