diff --git a/helix-core/src/indent.rs b/helix-core/src/indent.rs index a188af4b..d0a0e414 100644 --- a/helix-core/src/indent.rs +++ b/helix-core/src/indent.rs @@ -65,6 +65,8 @@ fn calculate_indentation(node: Option, newline: bool) -> usize { "declaration_list", "field_declaration_list", "field_initializer_list", + "struct_pattern", + "tuple_pattern", "enum_variant_list", // "function_item", // "closure_expression",