aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/odin/indents.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/odin/indents.scm')
-rw-r--r--runtime/queries/odin/indents.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/queries/odin/indents.scm b/runtime/queries/odin/indents.scm
new file mode 100644
index 00000000..a3b90a38
--- /dev/null
+++ b/runtime/queries/odin/indents.scm
@@ -0,0 +1,16 @@
+[
+ (foreign_block)
+ (block)
+ (compound_literal)
+ (proc_call)
+ (assignment_statement)
+ (const_declaration)
+ (var_declaration)
+ (switch_statement)
+] @indent
+
+[
+ ")"
+ "}"
+] @outdent
+