-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
I want to define a layout that has two forms, depending on whether the other layout is single-line or multi-line
For example, for the statement while cond body
If cond is single line, then body use layout 1
while true {
layout1
}If cond is multiline, then use body layout 2
while
cond_a
&& cond_b
|| cond_c
{
layout2
}flat_alt seems to only depend on whether itself is single-line or multi-line, is there a way to depend on other units
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels