1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-08-01 21:17: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() .iter()
.enumerate() .enumerate()
.map(|(index, line)| { .map(|(index, line)| {
if index == 0 { if index == 0 || line.is_empty() {
line.to_string() line.to_string()
} else { } else {
format!( format!(
"{0:<1$} {2}", "{0:<1$}{2}",
"", "",
2 * build_ctx.indentation, 2 * build_ctx.indentation,
line, line,

View file

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