diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-02-19 14:34:37 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-02-19 14:34:37 +0000 |
commit | a572b936ce7bbaf630b22a32c039738a783cdf41 (patch) | |
tree | 2c9c827718225f31e165149857858278069cb77b /src/testdir/test_textprop.vim | |
parent | f53e065bce1adff4bff202ed3ba9982ece90b745 (diff) |
patch 9.0.1326: relative line number not updated with virtual text abovev9.0.1326
Problem: Relative line number not updated with virtual text above.
Solution: Adjust the row for the line number for virtual text above.
(closes #12004)
Diffstat (limited to 'src/testdir/test_textprop.vim')
-rw-r--r-- | src/testdir/test_textprop.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/test_textprop.vim b/src/testdir/test_textprop.vim index 158896f612..3bd08fe4d7 100644 --- a/src/testdir/test_textprop.vim +++ b/src/testdir/test_textprop.vim @@ -2806,6 +2806,14 @@ func Test_prop_with_text_above_below_empty() call term_sendkeys(buf, ":\<CR>") call VerifyScreenDump(buf, 'Test_prop_above_below_empty_3', {}) + call term_sendkeys(buf, ":set colorcolumn=\<CR>") + call term_sendkeys(buf, ":set relativenumber\<CR>") + call term_sendkeys(buf, ":\<CR>") + call VerifyScreenDump(buf, 'Test_prop_above_below_empty_4', {}) + + call term_sendkeys(buf, "kk") + call VerifyScreenDump(buf, 'Test_prop_above_below_empty_5', {}) + call StopVimInTerminal(buf) endfunc |