mirror of
https://github.com/neovim/neovim.git
synced 2026-01-27 23:52:34 +10:00
vim-patch: 7.4.381
Problem: Get u_undo error when backspacing in Insert mode deletes more than
one line break. (Ayberk Ozgur)
Solution: Also decrement Insstart.lnum.
https://code.google.com/p/vim/source/detail?r=v7-4-381
This commit is contained in:
@@ -7267,6 +7267,7 @@ static int ins_bs(int c, int mode, int *inserted_space_p)
|
||||
}
|
||||
--Insstart_orig.lnum;
|
||||
Insstart_orig.col = MAXCOL;
|
||||
Insstart = Insstart_orig;
|
||||
}
|
||||
/*
|
||||
* In replace mode:
|
||||
|
||||
@@ -214,7 +214,7 @@ static int included_patches[] = {
|
||||
//384 NA
|
||||
//383,
|
||||
//382,
|
||||
//381,
|
||||
381,
|
||||
//380 NA
|
||||
//379,
|
||||
//378,
|
||||
|
||||
Reference in New Issue
Block a user