You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is because sciml mixes styles at the pretty and nesting stages which it should not do. nesting functions assume the tree was prettified with the same style. so in this case the pretty function uses YAS but then the nest uses Default. If you want this to work turn on yas_style_nesting=true but it might provide other formats you don't want
I was exploring the various possible formatting options, but am not particularly attached to this combination. If sciml style is incompatible with align_*, then perhaps print an error at the level of the call to format_*() to indicate lack of support?
The input:
gives the error:
It works, however, with
style = BlueStyle()
.The text was updated successfully, but these errors were encountered: