aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/svelte/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/svelte/highlights.scm b/queries/svelte/highlights.scm
index ea7c3c877..38d17988f 100644
--- a/queries/svelte/highlights.scm
+++ b/queries/svelte/highlights.scm
@@ -22,7 +22,7 @@
((attribute
(attribute_name) @_attr
(quoted_attribute_value (attribute_value) @text.uri))
- (#eq? @_attr "href"))
+ (#match? @_attr "^(href|src)$"))
(tag_name) @tag
(attribute_name) @property