diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2017-03-22 01:26:32 +0100 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2017-03-22 18:43:01 +0100 |
| commit | f58a593cea3872c7b8b862375b6982436ee88ef2 (patch) | |
| tree | 853ec6514799382a48bab3bb7a17452239f1399c /src/nvim/testdir | |
| parent | 2b32053559669580f51da3cad2258f65c3adf9c4 (diff) | |
| download | rneovim-f58a593cea3872c7b8b862375b6982436ee88ef2.tar.gz rneovim-f58a593cea3872c7b8b862375b6982436ee88ef2.tar.bz2 rneovim-f58a593cea3872c7b8b862375b6982436ee88ef2.zip | |
vim-patch:8.0.0483
Problem: Illegal memory access when using :all. (Dominique Pelle)
Solution: Adjust the cursor position right after setting "curwin".
https://github.com/vim/vim/commit/f79225ed4f81bc579bb3360ad2eb06adc8058153
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_window_cmd.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_window_cmd.vim b/src/nvim/testdir/test_window_cmd.vim index a5f27fba8a..188a7ed0f3 100644 --- a/src/nvim/testdir/test_window_cmd.vim +++ b/src/nvim/testdir/test_window_cmd.vim @@ -67,6 +67,18 @@ function Test_window_cmd_wincmd_gf() augroup! test_window_cmd_wincmd_gf endfunc +func Test_next_split_all() + " This was causing an illegal memory access. + n x + norm axxx + split + split + s/x + s/x + all + bwipe! +endfunc + func Test_window_quit() e Xa split Xb |