Skip to content

Instantly share code, notes, and snippets.

@sritchie
Created April 9, 2015 01:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sritchie/3f73bb6c6ab8efdcfaf5 to your computer and use it in GitHub Desktop.
Save sritchie/3f73bb6c6ab8efdcfaf5 to your computer and use it in GitHub Desktop.
add this to your .emacs to get nice indenting for Om methods (as defined by om-tools).
(defvar om-methods
(list 'render
'render-state
'init-state
'will-mount
'should-update
'will-receive-props
'will-update
'display-name
'will-unmount)
"Methods that should receive sexy clojure indents.")
(dolist (v om-methods)
(put-clojure-indent v 'defun))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment