Liking cljdoc? Tell your friends :D

formatting-stack.formatters.cljfmt.impl


*cache*clj

source

cljfmt-indents-forclj

(cljfmt-indents-for file third-party-intent-specs)

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.

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.
sourceraw docstring

cljfmt-third-party-indent-specsclj

(cljfmt-third-party-indent-specs specs)
source

fully-qualified-name-ofclj

(fully-qualified-name-of var-ref)
source

namespace-macrosclj

(namespace-macros ns)
source

project-macro-mappingsclj

(project-macro-mappings)
source

safe-ns-mapclj

(safe-ns-map namespace)

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).
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).
sourceraw docstring

to-cljfmt-indentclj

(to-cljfmt-indent {cider-indent :style/indent
                   cljfmt-indent :style.cljfmt/indent
                   cljfmt-type :style.cljfmt/type
                   :as _})
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close