mirror of
https://github.com/vim/vim.git
synced 2025-10-04 05:25:06 -04:00
patch 8.2.1058: multiline conceal causes display errors
Problem: Multiline conceal causes display errors. Solution: Do not allow conceal cross over EOL. (closes #6326, closes #4854, closes #6302)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user