Mercurial > vim
diff src/testdir/test_diffmode.vim @ 21014:20133655107a v8.2.1058
patch 8.2.1058: multiline conceal causes display errors
Commit: https://github.com/vim/vim/commit/fc838d6cb0f22c77a6ee2befd034b593e1c5ea06
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 25 22:23:48 2020 +0200
patch 8.2.1058: multiline conceal causes display errors
Problem: Multiline conceal causes display errors.
Solution: Do not allow conceal cross over EOL. (closes https://github.com/vim/vim/issues/6326, closes https://github.com/vim/vim/issues/4854,
closes #6302)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 25 Jun 2020 22:30:15 +0200 |
parents | 802bf80bcfe4 |
children | 1421eca61db9 |
line wrap: on
line diff
--- a/src/testdir/test_diffmode.vim +++ b/src/testdir/test_diffmode.vim @@ -1118,4 +1118,16 @@ func Test_diff_rnu() call delete('Xtest_diff_rnu') endfunc +func Test_diff_multilineconceal() + new + diffthis + + new + call matchadd('Conceal', 'a\nb', 9, -1, {'conceal': 'Y'}) + set cole=2 cocu=n + call setline(1, ["a", "b"]) + diffthis + redraw +endfunc + " vim: shiftwidth=2 sts=2 expandtab