| 1 | [ |
| 2 | (if_statement) |
| 3 | (for_statement) |
| 4 | (while_statement) |
| 5 | (match_statement) |
| 6 | (pattern_section) |
| 7 | |
| 8 | (function_definition) |
| 9 | (lambda) |
| 10 | (constructor_definition) |
| 11 | (class_definition) |
| 12 | (enum_definition) |
| 13 | |
| 14 | (dictionary (_)) |
| 15 | (array (_)) |
| 16 | (setget) |
| 17 | ] @indent |
| 18 | |
| 19 | [ |
| 20 | (if_statement) |
| 21 | (for_statement) |
| 22 | (while_statement) |
| 23 | (match_statement) |
| 24 | (pattern_section) |
| 25 | |
| 26 | (function_definition) |
| 27 | (class_definition) |
| 28 | ] @extend |
| 29 | |
| 30 | [ |
| 31 | (return_statement) |
| 32 | (break_statement) |
| 33 | (continue_statement) |
| 34 | (pass_statement) |
| 35 | ] @extend.prevent-once |
| 36 | |
| 37 | |
| 38 | [ |
| 39 | ")" |
| 40 | "]" |
| 41 | "}" |
| 42 | ] @outdent |
| 43 | (elif_clause |
| 44 | "elif" @outdent) |
| 45 | (else_clause |
| 46 | "else" @outdent) |