issues
search
arnetheduck
/
nph
An opinionated code formatter for Nim
Other
77
stars
12
forks
source link
the balanced line
#20
Closed
arnetheduck
closed
6 months ago
arnetheduck
commented
6 months ago
Balance newlines in various places:
in sections (var, type etc), use long-form when contents span multiple lines already
in if/statement expressions, use compact single-line format when it fits
in long procs with pragmas, break parameters early if pragma doesn't fit
Balance newlines in various places: