mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
||||
(start_tag
|
||||
(tag_name) @_tag)
|
||||
(text) @string.special.url)
|
||||
(text) @markup.link.label)
|
||||
(#eq? @_tag "a"))
|
||||
|
||||
((attribute
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue