Mercurial > vim
diff src/testdir/test_textprop.vim @ 30365:748b8dcfba57 v9.0.0518
patch 9.0.0518: virtual text highlight starts too early with 'nowrap'
Commit: https://github.com/vim/vim/commit/b84d565c623c00ca40bb4c1269a6860f780dda09
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 20 17:57:53 2022 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 20 Sep 2022 19:00:05 +0200 |
parents | 6391b3ca26b7 |
children | 11875afe85b2 |
line wrap: on
line diff
--- a/src/testdir/test_textprop.vim +++ b/src/testdir/test_textprop.vim @@ -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