mirror of
https://github.com/RGBCube/alejandra
synced 2025-08-01 04:57:44 +00:00
feat: no extra space in attr-sets
This commit is contained in:
parent
9606793fe2
commit
76e9af334d
4 changed files with 9 additions and 7 deletions
|
@ -127,9 +127,11 @@ pub fn rule(
|
|||
steps.push_back(crate::builder::Step::Pad);
|
||||
}
|
||||
crate::config::Layout::Wide => {
|
||||
if items_count > 0 {
|
||||
steps.push_back(crate::builder::Step::Whitespace);
|
||||
}
|
||||
}
|
||||
}
|
||||
steps.push_back(crate::builder::Step::Format(child.element));
|
||||
|
||||
steps
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue