Formatter: Close empty objects on same line

This commit is contained in:
Gregor Niehl 2023-11-04 13:51:22 +01:00 committed by James Westman
parent 3c424d03a4
commit 703e2626dd
2 changed files with 6 additions and 6 deletions

View file

@ -20,12 +20,10 @@ template $MyTemplate: Label {
flags: a | b;
[child]
Label {
}
Label {}
[child]
Label label2 {
}
Label label2 {}
// Single line comment.
@ -40,8 +38,7 @@ template $MyTemplate: Label {
Dialog {
[action response=ok]
$MyButton {
}
$MyButton {}
}
menu menu {