aboutsummaryrefslogtreecommitdiff
path: root/queries/gsp
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-09 22:17:11 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-09 22:17:11 +0100
commitaa3cdab28d515f5277cb0f7f204281f6f071bb67 (patch)
tree8ca19d797a8865d8981de702b5516ba80939ed8a /queries/gsp
parent36d41648bd13176cc5bdcbdade6cc5046acab6c1 (diff)
Move queries into a subdirectory
Diffstat (limited to 'queries/gsp')
-rw-r--r--queries/gsp/folds.scm4
-rw-r--r--queries/gsp/highlights.scm9
2 files changed, 13 insertions, 0 deletions
diff --git a/queries/gsp/folds.scm b/queries/gsp/folds.scm
new file mode 100644
index 0000000..e15d359
--- /dev/null
+++ b/queries/gsp/folds.scm
@@ -0,0 +1,4 @@
+[
+ (node)
+ (attribute_list)
+] @fold
diff --git a/queries/gsp/highlights.scm b/queries/gsp/highlights.scm
new file mode 100644
index 0000000..ba33621
--- /dev/null
+++ b/queries/gsp/highlights.scm
@@ -0,0 +1,9 @@
+[">" "-" "=" "@"] @operator
+["{" "}"] @tag.delimiter
+(node_name) @tag
+[
+ (attribute_name)
+ (class_shorthand)
+ (id_shorthand)
+] @tag.attribute
+(attribute_value) @string