Open cstrachan88 opened 4 months ago
The brace style is also not respected for when blocks. The following is also the formatted code using the same odinfmt.json above.
CONST_BOOL :: true
when CONST_BOOL {
// something
} else {
// something else
}
if CONST_BOOL {
// something
}
else {
// something else
}
The Stroustrup brace style is broken. I believe this used to work correctly. In the latest version of OLS, an extra space is inserted before the
else
:Should instead be:
This is my current odinfmt.json: