mirror of
https://github.com/helix-editor/helix
synced 2024-11-10 10:34:45 +01:00
f24007b30f
if/if let are already handled by block, and keeping these scopes would indent else blocks one level too far.
27 lines
379 B
INI
27 lines
379 B
INI
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",
|
|
"}",
|
|
"]",
|
|
")"
|
|
]
|