diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-11-29 21:37:13 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-11-29 21:37:13 +0000 |
commit | 7c02ad9f8906b576e53a62342c68ae557f67bacc (patch) | |
tree | 613b05d9880184456c2574df80498ddf770de36f /src/testdir/test_textprop.vim | |
parent | dffa6ea85c82bbcb60368f38f7437c6cd89c9e55 (diff) |
patch 9.0.0975: virtual text below empty line misplaced when 'number' setv9.0.0975
Problem: Virtual text below an empty line is misplaced when 'number' is
set.
Solution: Adjust the computations. (closes #11629)
Diffstat (limited to 'src/testdir/test_textprop.vim')
-rw-r--r-- | src/testdir/test_textprop.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test_textprop.vim b/src/testdir/test_textprop.vim index a6ed0af252..480c9fb752 100644 --- a/src/testdir/test_textprop.vim +++ b/src/testdir/test_textprop.vim @@ -2744,6 +2744,9 @@ func Test_prop_with_text_below_after_empty() let buf = RunVimInTerminal('-S XscriptPropBelowAfterEmpty', #{rows: 8, cols: 60}) call VerifyScreenDump(buf, 'Test_prop_below_after_empty_1', {}) + call term_sendkeys(buf, ":set number\<CR>") + call VerifyScreenDump(buf, 'Test_prop_below_after_empty_2', {}) + call StopVimInTerminal(buf) endfunc |