Skip to content

Commit 5a1c5ea

Browse files
authored
Merge pull request #243 from burinc/add-split-keypairs-over-multiple-lines-to-cli-options
Add split-keypairs-over-multiple-lines CLI option
2 parents 2eb8795 + f919940 commit 5a1c5ea

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cljfmt/src/cljfmt/main.clj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
:remove-surrounding-whitespace? true
157157
:remove-trailing-whitespace? true
158158
:remove-consecutive-blank-lines? true
159+
:split-keypairs-over-multiple-lines? false
159160
:indents cljfmt/default-indents
160161
:alias-map {}})
161162

@@ -197,7 +198,10 @@
197198
:id :insert-missing-whitespace?]
198199
[nil "--[no-]remove-consecutive-blank-lines"
199200
:default (:remove-consecutive-blank-lines? default-options)
200-
:id :remove-consecutive-blank-lines?]])
201+
:id :remove-consecutive-blank-lines?]
202+
[nil "--[no-]split-keypairs-over-multiple-lines"
203+
:default (:split-keypairs-over-multiple-lines? default-options)
204+
:id :split-keypairs-over-multiple-lines?]])
201205

202206
(defn- file-exists? [path]
203207
(.exists (io/as-file path)))

0 commit comments

Comments
 (0)