f24007b30f
if/if let are already handled by block, and keeping these scopes would indent else blocks one level too far.
26 lines
379 B
TOML
26 lines
379 B
TOML
indent = [
|
|
"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",
|
|
"tuple_expression",
|
|
"array_expression",
|
|
"where_clause",
|
|
"macro_invocation"
|
|
]
|
|
|
|
outdent = [
|
|
"where",
|
|
"}",
|
|
"]",
|
|
")"
|
|
]
|