1
0
forked from aniani/vim

patch 9.0.0518: virtual text highlight starts too early with 'nowrap'

Problem:    Virtual text highlight starts too early with 'nowrap' and 'number'
            set.
Solution:   Add the offset to the attribute skip count. (issue #11138)
This commit is contained in:
Bram Moolenaar
2022-09-20 17:57:53 +01:00
parent 320d910064
commit b84d565c62
4 changed files with 21 additions and 4 deletions

View File

@@ -2925,6 +2925,9 @@ func Test_prop_below_split_line()
call term_sendkeys(buf, "\<Esc>:set number\<CR>")
call VerifyScreenDump(buf, 'Test_prop_below_split_line_2', {})
call term_sendkeys(buf, ":set nowrap\<CR>")
call VerifyScreenDump(buf, 'Test_prop_below_split_line_3', {})
call StopVimInTerminal(buf)
endfunc