aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/sign_spec.lua
diff options
context:
space:
mode:
authorluukvbaal <luukvbaal@gmail.com>2025-02-12 11:01:43 +0100
committerGitHub <noreply@github.com>2025-02-12 11:01:43 +0100
commit2c629ad13f19ac262c0ae85628ceec6d4e0243fb (patch)
treec274827429909888680fb1dba8c147fe52d1f1e0 /test/functional/ui/sign_spec.lua
parent82a215cb2dc2b80c1b8bc455c90a928b636d8b3a (diff)
downloadrneovim-2c629ad13f19ac262c0ae85628ceec6d4e0243fb.tar.gz
rneovim-2c629ad13f19ac262c0ae85628ceec6d4e0243fb.tar.bz2
rneovim-2c629ad13f19ac262c0ae85628ceec6d4e0243fb.zip
feat(column): apply appropriate numhl highlight to virt_lines (#32400)
Problem: Number and statuscolumn highlighting for virtual lines does not take always take on numhl highlights. Solution: Apply the appropriate numhl highlight to the number/statuscolumn of virtual lines, fetching the numhl highlight of the line above for `virt_line_above == false` lines.
Diffstat (limited to 'test/functional/ui/sign_spec.lua')
-rw-r--r--test/functional/ui/sign_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/ui/sign_spec.lua b/test/functional/ui/sign_spec.lua
index ff03d86979..6ca9141a76 100644
--- a/test/functional/ui/sign_spec.lua
+++ b/test/functional/ui/sign_spec.lua
@@ -427,7 +427,7 @@ describe('Signs', function()
feed('<C-Y>')
-- number column on virtual lines should be empty
screen:expect([[
- {8: }VIRT LINES |
+ {9: }VIRT LINES |
{101: >> }aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa|
{9: }aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa|
{9: }aa^a |