Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/odin/indents.scm')
| -rw-r--r-- | runtime/queries/odin/indents.scm | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/runtime/queries/odin/indents.scm b/runtime/queries/odin/indents.scm index 223bab13..a3b90a38 100644 --- a/runtime/queries/odin/indents.scm +++ b/runtime/queries/odin/indents.scm @@ -1,25 +1,16 @@ [ - (block) - (enum_declaration) - (union_declaration) - (struct_declaration) - (struct) - (parameters) - (tuple_type) - (struct_type) - (call_expression) - (switch_case) + (foreign_block) + (block) + (compound_literal) + (proc_call) + (assignment_statement) + (const_declaration) + (var_declaration) + (switch_statement) ] @indent [ ")" - "]" + "}" ] @outdent -; Have to do all closing brackets separately because the one for switch statements shouldn't end. -(block "}" @outdent) -(enum_declaration "}" @outdent) -(union_declaration "}" @outdent) -(struct_declaration "}" @outdent) -(struct "}" @outdent) -(struct_type "}" @outdent) |