1
0
forked from aniani/vim

patch 9.0.0718: extra empty line between two virtual text "below"

Problem:    Extra empty line between two virtual text "below" when 'wrap' and
            'number' are set.
Solution:   Reset "before" when there is no text in the screen line.
            (closes #11334)
This commit is contained in:
Bram Moolenaar
2022-10-10 21:10:03 +01:00
parent d3283fba25
commit ccf2837a05
4 changed files with 15 additions and 2 deletions

View File

@@ -2653,6 +2653,9 @@ func Test_props_with_text_after_below_trunc()
let buf = RunVimInTerminal('-S XscriptPropsAfterTrunc', #{rows: 8, cols: 60})
call VerifyScreenDump(buf, 'Test_prop_with_text_after_below_trunc_1', {})
call term_sendkeys(buf, ":set number\<CR>")
call VerifyScreenDump(buf, 'Test_prop_with_text_after_below_trunc_2', {})
call StopVimInTerminal(buf)
endfunc