mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-26 03:13:29 +04:00
4da050b4bb
Fix several bugs in the treesitter indentation calculation. Co-authored-by: Triton171 <triton0171@gmail.com>
29 lines
419 B
TOML
29 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",
|
|
"}",
|
|
"]",
|
|
")"
|
|
]
|