aboutsummaryrefslogtreecommitdiff
path: root/queries
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-28 03:48:24 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-28 03:48:24 +0200
commitabe4d2ba6c98ef0922252ebe5e96a9d58815bc0b (patch)
tree98c8f1e0b52fc60268ff9167052f55263f6b9f3f /queries
parent94b1b4ad12c8bb04fc9ff84b1b9c0a707ad675a6 (diff)
Add syntax-highlighting support
Diffstat (limited to 'queries')
-rw-r--r--queries/highlights.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/queries/highlights.scm b/queries/highlights.scm
new file mode 100644
index 0000000..ba33621
--- /dev/null
+++ b/queries/highlights.scm
@@ -0,0 +1,9 @@
+[">" "-" "=" "@"] @operator
+["{" "}"] @tag.delimiter
+(node_name) @tag
+[
+ (attribute_name)
+ (class_shorthand)
+ (id_shorthand)
+] @tag.attribute
+(attribute_value) @string