File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44source test_assign.vim
55source test_cursor_func.vim
66source test_delete.vim
7+ source test_ex_undo.vim
78source test_expand.vim
89source test_feedkeys.vim
910source test_file_perm.vim
Original file line number Diff line number Diff line change 11" Tests for 'undolevels'
22
3- set nocompatible viminfo += nviminfo
4-
53func FillBuffer ()
64 for i in range (1 ,13 )
75 put = i
Original file line number Diff line number Diff line change @@ -2286,7 +2286,14 @@ undo_time(
22862286 * Init "closest" to a value we can't reach. */
22872287 if (absolute )
22882288 {
2289- target = step ;
2289+ if (step == 0 )
2290+ {
2291+ /* target 0 does not exist, got to 1 and above it. */
2292+ target = 1 ;
2293+ above = TRUE;
2294+ }
2295+ else
2296+ target = step ;
22902297 closest = -1 ;
22912298 }
22922299 else
Original file line number Diff line number Diff line change @@ -743,6 +743,8 @@ static char *(features[]) =
743743
744744static int included_patches [] =
745745{ /* Add new patch number below this line */
746+ /**/
747+ 1574 ,
746748/**/
747749 1573 ,
748750/**/
You can’t perform that action at this time.
0 commit comments