aboutsummaryrefslogtreecommitdiffstats
path: root/queries/cpon/indents.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/cpon/indents.scm')
-rw-r--r--queries/cpon/indents.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/queries/cpon/indents.scm b/queries/cpon/indents.scm
new file mode 100644
index 000000000..477ea83b5
--- /dev/null
+++ b/queries/cpon/indents.scm
@@ -0,0 +1,23 @@
+[
+ (meta_map)
+ (map)
+ (imap)
+ (array)
+] @indent
+
+[
+ "]"
+ "}"
+ ">"
+] @indent_end
+
+[ "{" "}" ] @branch
+
+[ "[" "]" ] @branch
+
+[ "<" ">" ] @branch
+
+[
+ (ERROR)
+ (comment)
+] @auto