From 1bbcd2fbc298b77f9c8769a8e5d928c5376435f2 Mon Sep 17 00:00:00 2001 From: elianiva Date: Mon, 1 Mar 2021 01:33:48 +0700 Subject: svelte: also capture src as text.uri --- queries/svelte/highlights.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3