diff options
| author | Jaehwang Jerry Jung <tomtomjhj@gmail.com> | 2021-10-29 11:04:57 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-28 22:04:57 -0400 |
| commit | bb79e05f811968b398b3bedf95c012c888b96e44 (patch) | |
| tree | 77a7b253afc14585a03c7fbe66a90b967f971fdc /src/nvim/testdir/test_diffmode.vim | |
| parent | 4a618b00bc662b976a702bf6205bb132c469a3b8 (diff) | |
| download | rneovim-bb79e05f811968b398b3bedf95c012c888b96e44.tar.gz rneovim-bb79e05f811968b398b3bedf95c012c888b96e44.tar.bz2 rneovim-bb79e05f811968b398b3bedf95c012c888b96e44.zip | |
vim-patch:8.2.3556: filler lines are incorrect for other window in diff mode (#16164)
Problem: Filler lines are incorrect for other window in diff mode after
making a change.
Solution: Copy filler lines from the current window. (closes vim/vim#8809)
https://github.com/vim/vim/commit/841c225b9ef8c5bdf5e02968a0bd62521fff6ca8
Diffstat (limited to 'src/nvim/testdir/test_diffmode.vim')
| -rw-r--r-- | src/nvim/testdir/test_diffmode.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_diffmode.vim b/src/nvim/testdir/test_diffmode.vim index 32cee7ca56..61da3cbcaa 100644 --- a/src/nvim/testdir/test_diffmode.vim +++ b/src/nvim/testdir/test_diffmode.vim @@ -984,6 +984,9 @@ func Test_diff_with_scroll_and_change() call term_sendkeys(buf, "ax\<Esc>") call VerifyScreenDump(buf, 'Test_diff_scroll_change_02', {}) + call term_sendkeys(buf, "\<C-W>lay\<Esc>") + call VerifyScreenDump(buf, 'Test_diff_scroll_change_03', {}) + " clean up call StopVimInTerminal(buf) call delete('Xtest_scroll_change') |