| 1 | [ |
| 2 | (block) |
| 3 | (enum_declaration) |
| 4 | (union_declaration) |
| 5 | (struct_declaration) |
| 6 | (struct) |
| 7 | (parameters) |
| 8 | (tuple_type) |
| 9 | (struct_type) |
| 10 | (call_expression) |
| 11 | (switch_case) |
| 12 | ] @indent |
| 13 | |
| 14 | [ |
| 15 | ")" |
| 16 | "]" |
| 17 | ] @outdent |
| 18 | |
| 19 | ; Have to do all closing brackets separately because the one for switch statements shouldn't end. |
| 20 | (block "}" @outdent) |
| 21 | (enum_declaration "}" @outdent) |
| 22 | (union_declaration "}" @outdent) |
| 23 | (struct_declaration "}" @outdent) |
| 24 | (struct "}" @outdent) |
| 25 | (struct_type "}" @outdent) |