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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user