mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
fix(html): correct the link label highlight (#6866)
Unlike the `href` attribute, the inner text of the `a` tag is the label of the link, not the actual URL.
This commit is contained in:
parent
f0dbe18000
commit
f7c05e3e05
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@
|
||||||
((element
|
((element
|
||||||
(start_tag
|
(start_tag
|
||||||
(tag_name) @_tag)
|
(tag_name) @_tag)
|
||||||
(text) @string.special.url)
|
(text) @markup.link.label)
|
||||||
(#eq? @_tag "a"))
|
(#eq? @_tag "a"))
|
||||||
|
|
||||||
((attribute
|
((attribute
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue