aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/zig/indents.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/zig/indents.scm')
-rw-r--r--runtime/queries/zig/indents.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/queries/zig/indents.scm b/runtime/queries/zig/indents.scm
new file mode 100644
index 00000000..af25a9c3
--- /dev/null
+++ b/runtime/queries/zig/indents.scm
@@ -0,0 +1,16 @@
+[
+ (Block)
+ (BlockExpr)
+ (ContainerDecl)
+ (SwitchExpr)
+ (AssignExpr)
+ (ErrorUnionExpr)
+ (Statement)
+ (InitList)
+] @indent
+
+[
+ "}"
+ "]"
+ ")"
+] @outdent