1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-08-01 04:57:44 +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(
clap::Arg::new("max-width")
.default_value("120")
.default_value("80")
.help("How many characters per line to allow.")
.long("max-width")
.takes_value(true)

View file

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

View file

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