(cljfmt-indents-for file third-party-intent-specs)
Returns a value derived from #'cljfmt.core/default-indents
, with:
The ns of file
is analysed, for resolving :def
-ed and :refer
-ed symbols accurately.
Returns a value derived from `#'cljfmt.core/default-indents`, with: * the indentation specs defined in your project (and its dependencies) via metadata; and * the specs explicitly passed as an argument to this defn. The ns of `file` is analysed, for resolving `:def`-ed and `:refer`-ed symbols accurately.
(safe-ns-map namespace)
Works around:
Works around: * .clj files not required yet (bad Reloaded integration); * .clj files not meant to be required (test files, scripts, etc); and * .cljs files (cannot be required from JVM clojure).
(to-cljfmt-indent {cider-indent :style/indent
cljfmt-indent :style.cljfmt/indent
cljfmt-type :style.cljfmt/type
:as _})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close