mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.4.386
Problem: When splitting a window the changelist position is wrong. Solution: Copy the changelist position. (Jacob Niehus)
This commit is contained in:
@@ -1178,6 +1178,11 @@ win_split_ins(size, flags, new_wp, dir)
|
||||
p_wh = size;
|
||||
}
|
||||
|
||||
#ifdef FEAT_JUMPLIST
|
||||
/* Keep same changelist position in new window. */
|
||||
wp->w_changelistidx = oldwin->w_changelistidx;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* make the new window the current window
|
||||
*/
|
||||
|
Reference in New Issue
Block a user