2021-05-14 12:21:46 +02:00
|
|
|
indent = [
|
|
|
|
"while_expression",
|
|
|
|
"for_expression",
|
|
|
|
"loop_expression",
|
|
|
|
"if_expression",
|
|
|
|
"if_let_expression",
|
|
|
|
"tuple_expression",
|
|
|
|
"array_expression",
|
|
|
|
"use_list",
|
|
|
|
"block",
|
|
|
|
"match_block",
|
|
|
|
"arguments",
|
|
|
|
"parameters",
|
|
|
|
"declaration_list",
|
|
|
|
"field_declaration_list",
|
|
|
|
"field_initializer_list",
|
|
|
|
"struct_pattern",
|
|
|
|
"tuple_pattern",
|
|
|
|
"enum_variant_list",
|
|
|
|
"binary_expression",
|
|
|
|
"field_expression",
|
2021-05-30 10:13:32 +02:00
|
|
|
"where_clause",
|
|
|
|
"macro_invocation"
|
2021-05-14 12:21:46 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
outdent = [
|
|
|
|
"where",
|
|
|
|
"}",
|
|
|
|
"]",
|
|
|
|
")"
|
|
|
|
]
|