aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/corn/indents.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/corn/indents.scm')
-rw-r--r--runtime/queries/corn/indents.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/runtime/queries/corn/indents.scm b/runtime/queries/corn/indents.scm
new file mode 100644
index 000000000..f1f5e04da
--- /dev/null
+++ b/runtime/queries/corn/indents.scm
@@ -0,0 +1,24 @@
+[
+ (assign_block
+ "{")
+ (object)
+ (array)
+] @indent.begin
+
+(assign_block
+ "}" @indent.branch)
+
+(assign_block
+ "}" @indent.end)
+
+(object
+ "}" @indent.branch)
+
+(object
+ "}" @indent.end)
+
+(array
+ "]" @indent.branch)
+
+(array
+ "]" @indent.end)