943f4ed7c058

More clojure shit
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 12 Mar 2014 00:55:58 -0400
parents 5311f9e651b7
children a39e48967786
branches/tags (none)
files vim/vimrc

Changes

--- a/vim/vimrc	Sun Mar 02 17:20:02 2014 -0500
+++ b/vim/vimrc	Wed Mar 12 00:55:58 2014 -0400
@@ -712,7 +712,11 @@
             \ 'defquery',
             \ 'defqueries',
             \
+            \ 'defform',
+            \
             \ 'deferror',
+            \ 'when-found',
+            \ 'when-valid',
             \
             \ 'defroutes'
             \ ]
@@ -732,6 +736,9 @@
     au FileType clojure compiler clojure
     au FileType clojure setlocal report=100000
 
+    " Things that should be indented 2-spaced
+    au FileType clojure setlocal lispwords+=when-found,defform,when-valid
+
     au FileType clojure RainbowParenthesesActivate
     au syntax clojure RainbowParenthesesLoadRound
     au syntax clojure RainbowParenthesesLoadSquare