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)
841c225b9e
This commit is contained in:
Jaehwang Jerry Jung
2021-10-29 11:04:57 +09:00
committed by GitHub
parent 4a618b00bc
commit bb79e05f81
3 changed files with 41 additions and 6 deletions

View File

@@ -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')