diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-13 20:17:34 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-13 20:17:34 +0100 |
commit | 9113c2cd19c72c0973ee5dc095a0a7f03f2af344 (patch) | |
tree | 60f81d11aabff26ee162252f6d08ae7354a61f9e /src/testdir/test_textprop.vim | |
parent | 8f369fb1ab7debeeda0fec69c379c528d162d9c5 (diff) |
patch 9.0.0201: CursorLine highlight overrules virtual text highlightv9.0.0201
Problem: CursorLine highlight overrules virtual text highlight.
Solution: Let extra attribute overrule line attribute. (closes #10909)
Diffstat (limited to 'src/testdir/test_textprop.vim')
-rw-r--r-- | src/testdir/test_textprop.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/test_textprop.vim b/src/testdir/test_textprop.vim index 5e9dd20388..b702340a3e 100644 --- a/src/testdir/test_textprop.vim +++ b/src/testdir/test_textprop.vim @@ -2756,12 +2756,13 @@ func Test_props_with_text_after_nowrap() call prop_add(3, 0, #{type: 'anotherprop', text: 'right aligned', text_align: 'right'}) call prop_add(3, 0, #{type: 'anotherprop', text: 'also right aligned', text_align: 'right'}) + hi CursorLine ctermbg=lightgrey END call writefile(lines, 'XscriptPropsAfterNowrap') let buf = RunVimInTerminal('-S XscriptPropsAfterNowrap', #{rows: 12, cols: 60}) call VerifyScreenDump(buf, 'Test_prop_with_text_after_nowrap_1', {}) - call term_sendkeys(buf, ":set signcolumn=yes foldcolumn=3\<CR>") + call term_sendkeys(buf, ":set signcolumn=yes foldcolumn=3 cursorline\<CR>") call VerifyScreenDump(buf, 'Test_prop_with_text_after_nowrap_2', {}) call term_sendkeys(buf, "j") |