4da050b4bb
Fix several bugs in the treesitter indentation calculation. Co-authored-by: Triton171 <triton0171@gmail.com>
28 lines
419 B
TOML
28 lines
419 B
TOML
indent = [
|
|
"use_list",
|
|
"block",
|
|
"match_block",
|
|
"arguments",
|
|
"parameters",
|
|
"declaration_list",
|
|
"field_declaration_list",
|
|
"field_initializer_list",
|
|
"struct_pattern",
|
|
"tuple_pattern",
|
|
"unit_expression",
|
|
"enum_variant_list",
|
|
"call_expression",
|
|
"binary_expression",
|
|
"field_expression",
|
|
"tuple_expression",
|
|
"array_expression",
|
|
"where_clause",
|
|
"macro_invocation"
|
|
]
|
|
|
|
outdent = [
|
|
"where",
|
|
"}",
|
|
"]",
|
|
")"
|
|
]
|