weavejester / cljfmt

A tool for formatting Clojure code
Eclipse Public License 1.0
1.11k stars 120 forks source link

Comment after delimiters #242

Open vemv opened 3 years ago

vemv commented 3 years ago

Hi,

here is an Emacs->cljfmt difference:

-   (let [ ;; foo bar
+   (let [;; foo bar

which is unfortunate because so often cljfmt matches Emacs. I wonder if this is a known issue, and what would be its preferred resolution. Can contribute a fix/option as I find the time.

Thanks - V

weavejester commented 2 years ago

A fix for this would be welcome. cljfmt shouldn't remove the whitespace in this instance.