1
0
forked from aniani/vim

patch 9.0.0995: padding before virtual text is highlighted

Problem:    Padding before virtual text below is highlighted when 'number' and
            'nowrap' are set.
Solution:   Save and restore n_attr_skip. (closes #11643)
This commit is contained in:
Bram Moolenaar
2022-12-02 21:50:14 +00:00
parent 267db7c3e3
commit 37f088eead
4 changed files with 33 additions and 24 deletions

View File

@@ -2747,6 +2747,9 @@ func Test_prop_with_text_below_after_empty()
call term_sendkeys(buf, ":set number\<CR>")
call VerifyScreenDump(buf, 'Test_prop_below_after_empty_2', {})
call term_sendkeys(buf, ":set nowrap\<CR>")
call VerifyScreenDump(buf, 'Test_prop_below_after_empty_3', {})
call StopVimInTerminal(buf)
endfunc