Improve rust indentation queries
if/if let are already handled by block, and keeping these scopes would indent else blocks one level too far.
This commit is contained in:
parent
112ae5cffe
commit
f24007b30f
1 changed files with 2 additions and 7 deletions
|
@ -1,11 +1,4 @@
|
|||
indent = [
|
||||
"while_expression",
|
||||
"for_expression",
|
||||
"loop_expression",
|
||||
"if_expression",
|
||||
"if_let_expression",
|
||||
"tuple_expression",
|
||||
"array_expression",
|
||||
"use_list",
|
||||
"block",
|
||||
"match_block",
|
||||
|
@ -19,6 +12,8 @@ indent = [
|
|||
"enum_variant_list",
|
||||
"binary_expression",
|
||||
"field_expression",
|
||||
"tuple_expression",
|
||||
"array_expression",
|
||||
"where_clause",
|
||||
"macro_invocation"
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue