Skip to content

Ciebiada/clojure-indent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published