diff options
author | watiko <service@mail.watiko.net> | 2016-02-05 10:46:26 +0900 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-02-06 22:54:36 -0500 |
commit | 9b19335c6ed02963dc54c96aeb757fa98e736440 (patch) | |
tree | d0dd59fe452941d0c6073fe242cfb69cade76eda /test/functional/eval/msgpack_functions_spec.lua | |
parent | 1ce80d86765e96c872dc30f38fe50758c9a872b1 (diff) | |
download | rneovim-9b19335c6ed02963dc54c96aeb757fa98e736440.tar.gz rneovim-9b19335c6ed02963dc54c96aeb757fa98e736440.tar.bz2 rneovim-9b19335c6ed02963dc54c96aeb757fa98e736440.zip |
vim-patch:7.4.693 #4172
Problem: Session file is not correct when there are multiple tab pages.
Solution: Reset the current window number for each tab page. (Jacob Niehus)
https://github.com/vim/vim/commit/695baeefe17adcd95f91d089efee87bd96fc98db
---
see: "[patch] wincmd error during session restore"
https://groups.google.com/d/msg/vim_dev/NykQ0UuOjXc/_MZi4sv9vp0J
What I did for testing:
```sh
mkdir /tmp/test_session
cd $_
function test_session() {
$1 -u NONE -i NONE -N ~/.vimrc \
-c 'wincmd s' \
-c 'wincmd v' \
-c 'wincmd T' \
-c 'normal 1gt' \
-c '2wincmd w' \
-c 'mks! test.vis' \
-c 'qa'
$1 -u NONE -i NONE -N -S test.vis
}
test_session vim
test_session nvim
test_session /path/to/your/neovim/repository/build/bin/nvim
```
Diffstat (limited to 'test/functional/eval/msgpack_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions