HTML: capture src attributes as text.uri

This commit is contained in:
Santos Gallegos 2021-02-25 23:14:42 -05:00 committed by Stephan Seitz
parent b0e1520f47
commit 91a89aa408

View file

@ -30,7 +30,7 @@
((attribute
(attribute_name) @_attr
(quoted_attribute_value (attribute_value) @text.uri))
(#eq? @_attr "href"))
(#match? @_attr "^(href|src)$"))
"=" @operator