aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/indent.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src/indent.rs')
-rw-r--r--helix-core/src/indent.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-core/src/indent.rs b/helix-core/src/indent.rs
index 4ea920cc..a188af4b 100644
--- a/helix-core/src/indent.rs
+++ b/helix-core/src/indent.rs
@@ -61,8 +61,10 @@ fn calculate_indentation(node: Option<Node>, newline: bool) -> usize {
"block",
"match_block",
"arguments",
+ "parameters",
"declaration_list",
"field_declaration_list",
+ "field_initializer_list",
"enum_variant_list",
// "function_item",
// "closure_expression",