• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

clojure-indent

Minimal Atom package for indenting Clojure code
  • #clojure
  • #indent
  • #indenting
  • #syntax
Ciebiada
0.10.0 2,427
1
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

clojure-indent

Minimal Atom package for indenting Clojure code.

I recommend using it alongside Parinfer

Auto-indenting selected lines

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.

Current rules

  • Indent body of some special forms with 2 spaces (def, if, for...)
  • Align arguments of function / macro call
  • Align map and vector elements

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by