arnetheduck / nph

An opinionated code formatter for Nim
Other
77 stars 12 forks source link

Keep section beginning on same line even if entry is long #33

Closed arnetheduck closed 5 months ago

arnetheduck commented 5 months ago

The section "short form" was restored to its 0.2 format to allow the before-= part of the section to stay on the same line as the section keyword.

This reduces the overall indent of the (long) RHS which gives it better chances to be formatted nicely.