Steps to reproduce
Run vim --clean test.vim -S test.vim, with
vim9script
colorscheme habamax
set number nowrap
prop_type_delete('test')
prop_type_add('test', {highlight: 'ErrorMsg'})
prop_add(2, 0, {
type: 'test',
text: 'The quick brown fox jumps over the lazy dog',
text_align: 'below',
text_padding_left: 4,
})
Result: The left padding of the virtual text is highlighted when wrap disabled and number enabled.
Screenshot:

Expected behaviour
The left padding of virtual text below should not be highlighted when the virtual text is added below an empty line.
Version of Vim
9.0.978
Environment
Linux
Logs and stack traces
No response