Mercurial > vim
diff src/testdir/test_diffmode.vim @ 16135:dc0801e374e0 v8.1.1072
patch 8.1.1072: extending sign and foldcolumn below the text is confusing
commit https://github.com/vim/vim/commit/8ee4c01b8c79a29065c1af05e5d9c0721069765f
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 29 18:08:18 2019 +0100
patch 8.1.1072: extending sign and foldcolumn below the text is confusing
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 29 Mar 2019 18:15:05 +0100 |
parents | 360c93a884d0 |
children | 5a2033905f19 |
line wrap: on
line diff
--- 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', {})