aboutsummaryrefslogtreecommitdiff
path: root/queries/gsp
diff options
context:
space:
mode:
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