Minimal Atom package for indenting Clojure code.
I recommend using it alongside Parinfer
Select a section of code and hit cmd-i
to reindent the entire block appropriately. This can be helpful for fixing large sections of code that were poorly formatted.
- Indent body of some special forms with 2 spaces (
def
,if
,for
...) - Align arguments of function / macro call
- Align map and vector elements