summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelianiva <dicha.arkana03@gmail.com>2021-03-01 01:33:48 +0700
committerSantos Gallegos <stsewd@protonmail.com>2021-02-28 14:01:54 -0500
commit1bbcd2fbc298b77f9c8769a8e5d928c5376435f2 (patch)
tree45b5db593c1e6648c77d4aa42f2ab32b1f56d1e7
parent9d57216c0d94c9823c0d971caeaffb3b261e527e (diff)
svelte: also capture src as text.uri
-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 ea7c3c87..38d17988 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