mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 08:50:11 -04:00
HTML: capture src attributes as text.uri
This commit is contained in:
parent
b0e1520f47
commit
91a89aa408
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@
|
||||||
((attribute
|
((attribute
|
||||||
(attribute_name) @_attr
|
(attribute_name) @_attr
|
||||||
(quoted_attribute_value (attribute_value) @text.uri))
|
(quoted_attribute_value (attribute_value) @text.uri))
|
||||||
(#eq? @_attr "href"))
|
(#match? @_attr "^(href|src)$"))
|
||||||
|
|
||||||
"=" @operator
|
"=" @operator
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue