diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-03-29 18:08:18 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-03-29 18:08:18 +0100 |
commit | 8ee4c01b8c79a29065c1af05e5d9c0721069765f (patch) | |
tree | 7b9275c98c4854a599deaaf5bd68ccf15946e9da /src/testdir/test_diffmode.vim | |
parent | 2912abb3a2fd72074e3901c8ae1d4a77ce764675 (diff) | |
download | vim-git-8ee4c01b8c79a29065c1af05e5d9c0721069765f.tar.gz |
patch 8.1.1072: extending sign and foldcolumn below the text is confusingv8.1.1072
Problem: Extending sign and foldcolumn below the text is confusing.
Solution: Let the sign and foldcolumn stop at the last text line, just like
the line number column. Also stop the command line window leader.
(Christian Brabandt, closes #3964)
Diffstat (limited to 'src/testdir/test_diffmode.vim')
-rw-r--r-- | src/testdir/test_diffmode.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testdir/test_diffmode.vim b/src/testdir/test_diffmode.vim index 5a3a6beee..85963311a 100644 --- a/src/testdir/test_diffmode.vim +++ b/src/testdir/test_diffmode.vim @@ -757,7 +757,7 @@ func Test_diff_screen() " Test 1: Add a line in beginning of file 2 call WriteDiffFiles(0, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) let buf = RunVimInTerminal('-d Xfile1 Xfile2', {}) - " Set autoread mode, ,so that Vim won't complain once we re-write the test + " Set autoread mode, so that Vim won't complain once we re-write the test " files call term_sendkeys(buf, ":set autoread\<CR>\<c-w>w:set autoread\<CR>\<c-w>w") @@ -915,6 +915,8 @@ func Test_diff_of_diff() \ 'vnew', \ 'call setline(1, ["aa","bb","cc"])', \ 'windo diffthis', + \ '1wincmd w', + \ 'setlocal number', \ ], 'Xtest_diff_diff') let buf = RunVimInTerminal('-S Xtest_diff_diff', {}) |