diff options
Diffstat (limited to 'src/nvim/window.c')
| -rw-r--r-- | src/nvim/window.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/src/nvim/window.c b/src/nvim/window.c index ebce53cdf4..5ed145573d 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -948,6 +948,9 @@ int win_split_ins(int size, int flags, win_T *new_wp, int dir)        p_wh = size;    } +  // Keep same changelist position in new window. +  wp->w_changelistidx = oldwin->w_changelistidx; +    /*     * make the new window the current window     */ | 
