1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-08-01 21:17:45 +00:00

feat: reduce default max-width

This commit is contained in:
Kevin Amado 2022-02-01 19:48:44 -05:00
parent 14ed5b9fc8
commit d479b6b770
No known key found for this signature in database
GPG key ID: FFF341057F503148
3 changed files with 127 additions and 145 deletions

View file

@ -11,7 +11,7 @@ pub fn parse(args: Vec<String>) -> clap::ArgMatches {
) )
.arg( .arg(
clap::Arg::new("max-width") clap::Arg::new("max-width")
.default_value("120") .default_value("80")
.help("How many characters per line to allow.") .help("How many characters per line to allow.")
.long("max-width") .long("max-width")
.takes_value(true) .takes_value(true)

View file

@ -1,13 +1,10 @@
(a b) (a b) (a b) (
(a b)
(
a a
/* /*
b b
*/ */
c c
) ) (
(
/* /*
a a
*/ */

View file

@ -1,20 +1,17 @@
( (
((c)) ((c)) (
(
(c) (c)
/* /*
e e
*/ */
) ) (
(
( (
c c
/* /*
d d
*/ */
) )
) ) (
(
( (
c c
/* /*
@ -24,16 +21,14 @@
/* /*
e e
*/ */
) ) (
(
( (
/* /*
b b
*/ */
c c
) )
) ) (
(
( (
/* /*
b b
@ -43,8 +38,7 @@
/* /*
e e
*/ */
) ) (
(
( (
/* /*
b b
@ -54,8 +48,7 @@
d d
*/ */
) )
) ) (
(
( (
/* /*
b b
@ -68,14 +61,12 @@
/* /*
e e
*/ */
) ) (
(
/* /*
a a
*/ */
(c) (c)
) ) (
(
/* /*
a a
*/ */
@ -83,8 +74,7 @@
/* /*
e e
*/ */
) ) (
(
/* /*
a a
*/ */
@ -94,8 +84,7 @@
d d
*/ */
) )
) ) (
(
/* /*
a a
*/ */
@ -108,8 +97,7 @@
/* /*
e e
*/ */
) ) (
(
/* /*
a a
*/ */
@ -119,8 +107,7 @@
*/ */
c c
) )
) ) (
(
/* /*
a a
*/ */
@ -133,8 +120,7 @@
/* /*
e e
*/ */
) ) (
(
/* /*
a a
*/ */
@ -147,8 +133,7 @@
d d
*/ */
) )
) ) (
(
/* /*
a a
*/ */