patch 8.2.3556: filler lines are incorrect for other window in diff mode
Problem: Filler lines are incorrect for other window in diff mode after
making a change.
Solution: Copy filler lines from the current window. (closes #8809)
diff --git a/src/testdir/test_diffmode.vim b/src/testdir/test_diffmode.vim
index 08ec71b..e8bd087 100644
--- a/src/testdir/test_diffmode.vim
+++ b/src/testdir/test_diffmode.vim
@@ -1013,6 +1013,9 @@
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')