mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-31 04:27:45 +00:00
parent
e33ab6fc18
commit
a5cc33c6d8
18 changed files with 1128 additions and 1128 deletions
|
@ -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,
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
/*
|
||||
Some functions f
|
||||
Some functions f
|
||||
name attribute.
|
||||
*/
|
||||
*/
|
||||
/*
|
||||
Add to or over
|
||||
derivation.
|
||||
derivation.
|
||||
|
||||
Example:
|
||||
Example:
|
||||
addMetaAttrs {des
|
||||
*/
|
||||
*/
|
||||
1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue