greglook / cljstyle

A tool for formatting Clojure code
Eclipse Public License 1.0
293 stars 39 forks source link

Fix formatting for namespaced maps #7

Closed drewinglis closed 5 years ago

drewinglis commented 5 years ago

Fixes #6.

We weren't writing anything for the start-element for the :namespaced-map node, which means that we weren't accounting for it in the indentation for any subsequent lines.

See also: https://github.com/xsc/rewrite-clj/pull/66

drewinglis commented 5 years ago

I finally patched this up, and it is ready for re-review.

drewinglis commented 5 years ago

Oh, I don't have write access to your repository so I can't merge. But if you do merge, please squash me. :)