aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/functional/treesitter/highlight_spec.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/functional/treesitter/highlight_spec.lua b/test/functional/treesitter/highlight_spec.lua
index 3774ff8d54..b0ac180738 100644
--- a/test/functional/treesitter/highlight_spec.lua
+++ b/test/functional/treesitter/highlight_spec.lua
@@ -1052,10 +1052,15 @@ describe('treesitter highlighting (markdown)', function()
insert(string.format('[This link text](%s) is a hyperlink.', url))
screen:add_extra_attr_ids({
[100] = { foreground = Screen.colors.DarkCyan, url = 'https://example.com' },
+ [101] = {
+ foreground = Screen.colors.SlateBlue,
+ url = 'https://example.com',
+ underline = true,
+ },
})
screen:expect({
grid = [[
- {25:[}{100:This link text}{25:](}{28:https://example.com}{25:)} is|
+ {25:[}{100:This link text}{25:](}{101:https://example.com}{25:)} is|
a hyperlink^. |
{1:~ }|*3
|