summaryrefslogtreecommitdiff
path: root/src/testdir/test47.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-10-21 22:18:21 +0200
committerBram Moolenaar <Bram@vim.org>2012-10-21 22:18:21 +0200
commita80888d296f97ed28a4debc5019a7bbe86cd9121 (patch)
treed8f09728663186c8cf0e7759cfdb280459575756 /src/testdir/test47.in
parent17aa8cc255d313ac33eca4f2727ed2a6b8bdd8ef (diff)
downloadvim-a80888d296f97ed28a4debc5019a7bbe86cd9121.zip
updated for version 7.3.708
Problem: Filler lines above the first line may be hidden when opening Vim. Solution: Change how topfill is computed. (Christian Brabandt)
Diffstat (limited to 'src/testdir/test47.in')
-rw-r--r--src/testdir/test47.in17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/testdir/test47.in b/src/testdir/test47.in
index c87387b2f..13ad82462 100644
--- a/src/testdir/test47.in
+++ b/src/testdir/test47.in
@@ -36,7 +36,22 @@ j:let three = three . "-" . winline()
:call append("$", two)
:call append("$", three)
:$-2,$w! test.out
-:unlet one two three
+:" Test that diffing shows correct filler lines
+:diffoff!
+:windo :bw!
+:enew
+:put =range(4,10)
+:1d _
+:vnew
+:put =range(1,10)
+:1d _
+:windo :diffthis
+:wincmd h
+:let w0=line('w0')
+:enew
+:put =w0
+:.w >> test.out
+:unlet! one two three w0
:qa!
ENDTEST