(format-file! filename
&
{:keys [node-formatter] :or {node-formatter format-node}})Returns the formatting of filename according to a formatter, default `#'format-node``.
filename will not be written to.
Returns the formatting of `filename` according to a formatter, default `#'format-node``. `filename` will not be written to.
Formats a rewrite-clj.node.protocols/Node
(i.e. each type of Clojure expression: see the built-in categorization in net.vemv.autonewline.impl.dispatch),
using the rewrite-clj API.
Formats a `rewrite-clj.node.protocols/Node` (i.e. each type of Clojure expression: see the built-in categorization in `net.vemv.autonewline.impl.dispatch`), using the rewrite-clj API.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |