2022-12-20 13:57:49 +00:00
|
|
|
;; -*- mode: clojure -*-
|
|
|
|
;; vi: ft=clojure
|
|
|
|
{:width 105
|
|
|
|
:style [;; community style
|
|
|
|
;; https://github.com/kkinnear/zprint/blob/main/doc/reference.md#community
|
|
|
|
:community
|
|
|
|
|
|
|
|
;; no comma in map
|
|
|
|
:no-comma
|
|
|
|
|
|
|
|
:custom-justify
|
|
|
|
|
|
|
|
;; respect all newlines
|
|
|
|
;; https://github.com/kkinnear/zprint/blob/main/doc/reference.md#respect-nl
|
|
|
|
:respect-nl
|
|
|
|
|
|
|
|
;; respect blank line
|
|
|
|
;; https://github.com/kkinnear/zprint/blob/main/doc/reference.md#respect-bl
|
2023-02-17 12:10:00 +00:00
|
|
|
:respect-bl
|
|
|
|
|
|
|
|
;; hang multiline left-hand-thing
|
|
|
|
;; https://github.com/kkinnear/zprint/issues/273
|
|
|
|
:multi-lhs-hang]
|
2022-12-20 13:57:49 +00:00
|
|
|
:fn-map
|
|
|
|
{"reg-sub" :arg1-pair
|
2022-12-28 15:21:15 +00:00
|
|
|
"h/describe" :arg1-body
|
|
|
|
"h/test" :arg1-body
|
|
|
|
"global.describe" :arg1-body
|
|
|
|
"global.test" :arg1-body
|
2022-12-20 13:57:49 +00:00
|
|
|
"list-comp" :binding
|
|
|
|
"defview" :arg1-body
|
|
|
|
"letsubs" :binding
|
|
|
|
"testing" :arg1-body
|
|
|
|
"deftest-sub" :arg1-body
|
2022-12-23 14:30:46 +00:00
|
|
|
"wait-for" :arg1-body
|
2022-12-20 13:57:49 +00:00
|
|
|
"with-deps-check" :arg1-body
|
|
|
|
"->" [:noarg1-body
|
|
|
|
{:list {:constant-pair? false :force-nl? false}
|
|
|
|
:next-inner-restore [[:list :constant-pair?]]}]
|
|
|
|
"set!" "reset!"
|
|
|
|
"assoc-when" "assoc"
|
|
|
|
"assoc-some" "assoc"
|
|
|
|
"conj-when" "conj"
|
|
|
|
"conj-some" "conj"}
|
|
|
|
:remove {:fn-force-nl #{:noarg1-body}}
|
|
|
|
:style-map
|
|
|
|
{:no-comma {:map {:comma? false}}
|
|
|
|
:custom-justify
|
|
|
|
{:doc "Justify everything using pre-1.1.2 approach"
|
|
|
|
:binding {:justify? true :justify {:max-variance 1000}}
|
|
|
|
:map {:justify? true :justify {:max-variance 1000}}
|
|
|
|
:pair {:justify? true :justify {:max-variance 1000}}}}}
|