File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 5
5
- [ #483 ] ( https://github.com/clojure-emacs/clj-refactor.el/issues/483 ) : Improve performance of cljr-slash when typing fraction literals.
6
6
- [ #482 ] ( https://github.com/clojure-emacs/clj-refactor.el/issues/482 ) : Add missing defgroup form.
7
7
- [ #470 ] ( https://github.com/clojure-emacs/clj-refactor.el/issues/470 ) : Choose ` deps.edn ` over ` pom.xml ` as project file.
8
+ - Introduce ` defcustom cljr-insert-newline-after-require ` option.
8
9
9
10
## 2.5.1 (2021-02-16)
10
11
Original file line number Diff line number Diff line change @@ -126,6 +126,11 @@ This only applies to dependencies added by `cljr-add-project-dependency'."
126
126
:group 'cljr
127
127
:type 'boolean )
128
128
129
+ (defcustom cljr-insert-newline-after-require t
130
+ " If t, `cljr-clean-ns' will place a newline after the `:require` and `:import` tokens."
131
+ :group 'cljr
132
+ :type 'boolean )
133
+
129
134
(defcustom cljr-use-multiple-cursors t
130
135
" If t, some refactorings use the `multiple-cursors' package.
131
136
This improves interactivity of the commands. If nil, those
@@ -751,6 +756,10 @@ All config settings are included in the created msg."
751
756
(if cljr-favor-prefix-notation
752
757
" true"
753
758
" false" )
759
+ " insert-newline-after-require"
760
+ (if cljr-insert-newline-after-require
761
+ " true"
762
+ " false" )
754
763
" debug"
755
764
(if cljr--debug-mode
756
765
" true"
You can’t perform that action at this time.
0 commit comments