summaryrefslogtreecommitdiff
path: root/queries
diff options
context:
space:
mode:
authorMichael Chris Lopez <hello@michaelchris.space>2021-12-18 15:27:12 +0800
committerStephan Seitz <stephan.seitz@fau.de>2022-01-12 12:10:07 +0100
commit5e2121a2272621b8ed033fbb9ffe0820c61212e2 (patch)
treed351fce23a808fda4ec529ebd6bfa548580b124f /queries
parent41a097d9c543851625626618b08fc2bdf37b2894 (diff)
highlights(html_tags): more specific attribute_value target
Diffstat (limited to 'queries')
-rw-r--r--queries/html_tags/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/html_tags/highlights.scm b/queries/html_tags/highlights.scm
index 184b340f..419b4568 100644
--- a/queries/html_tags/highlights.scm
+++ b/queries/html_tags/highlights.scm
@@ -2,8 +2,8 @@
(erroneous_end_tag_name) @error
(comment) @comment
(attribute_name) @tag.attribute
-(attribute_value) @string
-(quoted_attribute_value) @string
+(attribute
+ (quoted_attribute_value) @string)
(text) @text
((element (start_tag (tag_name) @_tag) (text) @text.title)