aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-09-26 15:59:51 -0400
committerJustin M. Keyes <justinkz@gmail.com>2014-09-26 15:59:51 -0400
commit176f16066b52f437b098d3d4d8dee5c5bf2e8865 (patch)
treea9375ad89d1e57a9e2be6ee5068559fed1ad4f81 /src/nvim/window.c
parentd41eb83019ccaf78fe172da3477a07aaf645ba3d (diff)
parent57d497c51b1159052cb53c9e4db0388626b35903 (diff)
downloadrneovim-176f16066b52f437b098d3d4d8dee5c5bf2e8865.tar.gz
rneovim-176f16066b52f437b098d3d4d8dee5c5bf2e8865.tar.bz2
rneovim-176f16066b52f437b098d3d4d8dee5c5bf2e8865.zip
Merge pull request #1219 from atwupack/vp-7.4.386
vim-patch:7.4.386
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r--src/nvim/window.c3
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
*/