greglook / cljstyle

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

Closing brace for maps that end in comments is indented incorrectly #14

Closed drewinglis closed 4 years ago

drewinglis commented 5 years ago
$ cljfmt check foo.clj
--- a/foo.clj
+++ b/foo.clj
@@ -1,3 +1,3 @@
 {:one 1
  ;; this is a comment
- }
+}
1 files formatted incorrectly
$ cat foo.clj
{:one 1
 ;; this is a comment
 }