arnetheduck / nph

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

Treat `.` as part of a simple expression #34

Closed arnetheduck closed 4 months ago

arnetheduck commented 4 months ago

Treating . as complex leads to complex formatting where it is not desired, such as module-prefixing and trivial field accesses - this plays well with omitting () in trivial calls as well.