mirror of
https://github.com/RGBCube/alejandra
synced 2025-08-01 04:57:44 +00:00
feat: remove whitespace around dynamic
This commit is contained in:
parent
9debef2ad0
commit
863976c10f
3 changed files with 7 additions and 11 deletions
|
@ -21,9 +21,7 @@ pub fn rule(
|
|||
steps.push_back(crate::builder::Step::NewLine);
|
||||
steps.push_back(crate::builder::Step::Pad);
|
||||
}
|
||||
crate::config::Layout::Wide => {
|
||||
steps.push_back(crate::builder::Step::Whitespace);
|
||||
}
|
||||
crate::config::Layout::Wide => {}
|
||||
}
|
||||
|
||||
// /**/
|
||||
|
@ -59,9 +57,7 @@ pub fn rule(
|
|||
steps.push_back(crate::builder::Step::NewLine);
|
||||
steps.push_back(crate::builder::Step::Pad);
|
||||
}
|
||||
crate::config::Layout::Wide => {
|
||||
steps.push_back(crate::builder::Step::Whitespace);
|
||||
}
|
||||
crate::config::Layout::Wide => {}
|
||||
}
|
||||
steps.push_back(crate::builder::Step::Format(child.element));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue