diff --git a/src/config.rs b/src/config.rs index 448ab3b8d514..32eb9af4b118 100644 --- a/src/config.rs +++ b/src/config.rs @@ -71,6 +71,8 @@ configuration_option_enum! { Density: Tall, // Try to compress if the body is empty. CompressedIfEmpty, + // Place every item on a separate line. + Vertical, } configuration_option_enum! { TypeDensity: @@ -85,6 +87,7 @@ impl Density { match self { Density::Compressed => ListTactic::Mixed, Density::Tall | Density::CompressedIfEmpty => ListTactic::HorizontalVertical, + Density::Vertical => ListTactic::Vertical, } } }