From 91a89aa408c19572bd7a41caa8ab8666143bec8c Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Thu, 25 Feb 2021 23:14:42 -0500 Subject: HTML: capture src attributes as text.uri --- queries/html/highlights.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queries/html/highlights.scm b/queries/html/highlights.scm index a30de6750..97fd0d662 100644 --- a/queries/html/highlights.scm +++ b/queries/html/highlights.scm @@ -30,7 +30,7 @@ ((attribute (attribute_name) @_attr (quoted_attribute_value (attribute_value) @text.uri)) - (#eq? @_attr "href")) + (#match? @_attr "^(href|src)$")) "=" @operator -- cgit v1.2.3-70-g09d2