I noticed that NEWLINEAFTERBRACET was just hardcoded to true, but I personally think it's strange looking. I do not commonly see this used, either. While this does change the default behavior (from true to false, effectively), I can change that back but I will need to have another go at the argument naming conventions.
Including --blank-lines makes it true, omitting it leaves it false. If flipped, I could see changing it to --no-blank-lines|-nbl.
Assumptions
No change in behavior here, but it is worth noting that using --blank-lines will add the blank lines after a curly bracket, but omitting the arg will not remove existing blank lines.
Overview
I noticed that
NEWLINEAFTERBRACET
was just hardcoded totrue
, but I personally think it's strange looking. I do not commonly see this used, either. While this does change the default behavior (from true to false, effectively), I can change that back but I will need to have another go at the argument naming conventions.Including
--blank-lines
makes ittrue
, omitting it leaves itfalse
. If flipped, I could see changing it to--no-blank-lines
|-nbl
.Assumptions
No change in behavior here, but it is worth noting that using
--blank-lines
will add the blank lines after a curly bracket, but omitting the arg will not remove existing blank lines.Examples
With
--blank-lines
|-bl
Omitting the
--blank-lines
argumentHow to use it
-bl
--blank-lines