Liking cljdoc? Tell your friends :D

cljfmt.format.indent


indent-amountclj

(indent-amount zloc indents)

Calculates the number of spaces the node at this location should be indented, based on the available custom indent rules.

Calculates the number of spaces the node at this location should be
indented, based on the available custom indent rules.
sourceraw docstring

indent-sizeclj

source

should-indent?clj

(should-indent? zloc)

True if indentation should exist after the current location.

True if indentation should exist after the current location.
sourceraw docstring

should-unindent?clj

(should-unindent? zloc)

True if the current location is indentation whitespace that should be reformatted.

True if the current location is indentation whitespace that should be
reformatted.
sourceraw docstring

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

× close