Mercurial > vim
diff src/testdir/test_textprop.vim @ 34574:74baeec0f24f v9.1.0185
patch 9.1.0185: 'wincolor' hl missing with 'rightleft', "below" virttext, 'nowrap'
Commit: https://github.com/vim/vim/commit/f6272551bdae3f265b6948a4155b079c37fe110f
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun Mar 17 10:01:47 2024 +0100
patch 9.1.0185: 'wincolor' hl missing with 'rightleft', "below" virttext, 'nowrap'
Problem: 'wincolor' highlight missing with 'rightleft', "below" virtual
text and 'nowrap'.
Solution: Handle 'rightleft' in draw_screen_line() (zeertzjq).
closes: #14216
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 17 Mar 2024 10:15:05 +0100 |
parents | 28dab9103dd5 |
children | cb36b351c2de |
line wrap: on
line diff
--- a/src/testdir/test_textprop.vim +++ b/src/testdir/test_textprop.vim @@ -4535,6 +4535,11 @@ func Test_textprop_with_wincolor() call term_sendkeys(buf, 'k') call VerifyScreenDump(buf, 'Test_prop_wincolor_8', {}) + if has('rightleft') + call term_sendkeys(buf, ":set rightleft\<CR>:\<CR>") + call VerifyScreenDump(buf, 'Test_prop_wincolor_9', {}) + endif + call StopVimInTerminal(buf) endfunc