fix(api): make getting explicit empty hl in virtual text work (#28697)

This commit is contained in:
zeertzjq
2024-05-12 05:39:33 +08:00
committed by GitHub
parent c1396afa7c
commit 4e5c633ed4
5 changed files with 55 additions and 8 deletions

View File

@@ -1569,7 +1569,7 @@ describe('API/extmarks', function()
sign_text = '>>',
spell = true,
virt_lines = {
{ { 'lines', 'Macro' }, { '???' } },
{ { 'lines', 'Macro' }, { '???' }, { ';;;', '' } },
{ { 'stack', { 'Type', 'Search' } }, { '!!!' } },
},
virt_lines_above = true,
@@ -1604,7 +1604,7 @@ describe('API/extmarks', function()
sign_text = '>>',
spell = true,
virt_lines = {
{ { 'lines', 'Macro' }, { '???' } },
{ { 'lines', 'Macro' }, { '???' }, { ';;;', '' } },
{ { 'stack', { 'Type', 'Search' } }, { '!!!' } },
},
virt_lines_above = true,