Skip to content

Commit ffe3e41

Browse files
committed
Improve pretty-printing of namespaces
This makes the pretty-printed namespace form more in line with the clojure style guide. Specifically we go from: ``` (ns foo.bar (:require [this.library :as lib])) ``` To: ``` (ns foo.bar (:require [this.library :as lib])) ``` This commit closes clojure-emacs/clj-refactor.el#459
1 parent e0accea commit ffe3e41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/refactor_nrepl/ns/pprint.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
(defn pprint-require-form
3838
[[_ & libspecs]]
39-
(print "(:require ")
39+
(print "(:require\n")
4040
(dorun
4141
(map-indexed
4242
(fn [idx libspec]

0 commit comments

Comments
 (0)