1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-31 04:27:45 +00:00

feat: conform comments to editorconfig with indent_size = 2

fix: #294
This commit is contained in:
David Arnold 2022-07-12 23:25:37 -05:00 committed by Kevin Amado
parent e33ab6fc18
commit a5cc33c6d8
18 changed files with 1128 additions and 1128 deletions

View file

@ -55,11 +55,11 @@ fn build_step(
.iter()
.enumerate()
.map(|(index, line)| {
if index == 0 {
if index == 0 || line.is_empty() {
line.to_string()
} else {
format!(
"{0:<1$} {2}",
"{0:<1$}{2}",
"",
2 * build_ctx.indentation,
line,

View file

@ -1,12 +1,12 @@
/*
Some functions f
Some functions f
name attribute.
*/
*/
/*
Add to or over
derivation.
derivation.
Example:
Example:
addMetaAttrs {des
*/
*/
1