Clojure indentation is based on the lisp indentation, which, unless otherwise indicated, is indented on the second line to match the first argument of the function. The following lines are indented in accordance with the previous line (provided that there is no change in nesting).
for example
(some-function arg1 arg2 arg3 arg4-on-second-line)
Or, when the first argument is on the second line:
(some-function arg1 arg2 arg3 ...)
However, if you change the lisp-indent-offset variable, this cancels the indentation scheme described above and forces the second line of lisp-indent-offset indented expressions to have more columns than the start of the function call.
So, perhaps the following would get the indentation you are looking for:
(setq lisp-indent-offset 2)
Trey jackson
source share