aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/templ/highlights.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/queries/templ/highlights.scm b/queries/templ/highlights.scm
index e24dbeba8..034c91d5b 100644
--- a/queries/templ/highlights.scm
+++ b/queries/templ/highlights.scm
@@ -10,6 +10,8 @@
(style_element)
] @tag
+(doctype) @constant
+
(attribute
name: (attribute_name) @tag.attribute)
@@ -41,6 +43,14 @@
(element_comment) @comment @spell
+[
+ "<"
+ ">"
+ "</"
+ "/>"
+ "<!"
+] @tag.delimiter
+
"@" @operator
[