Skip to content

Instantly share code, notes, and snippets.

@sritchie sritchie/emacs.el
Created Apr 9, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.