summaryrefslogtreecommitdiff
path: root/vim/bundle/slimv/indent/clojure.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/bundle/slimv/indent/clojure.vim')
-rw-r--r--vim/bundle/slimv/indent/clojure.vim23
1 files changed, 23 insertions, 0 deletions
diff --git a/vim/bundle/slimv/indent/clojure.vim b/vim/bundle/slimv/indent/clojure.vim
new file mode 100644
index 0000000..3b9e4fe
--- /dev/null
+++ b/vim/bundle/slimv/indent/clojure.vim
@@ -0,0 +1,23 @@
+" clojure.vim:
+" Clojure indent plugin for Slimv
+" Version: 0.9.5
+" Last Change: 21 Feb 2012
+" Maintainer: Tamas Kovacs <kovisoft at gmail dot com>
+" License: This file is placed in the public domain.
+" No warranty, express or implied.
+" *** *** Use At-Your-Own-Risk! *** ***
+"
+" =====================================================================
+"
+" Load Once:
+if exists("b:did_indent") || exists("g:slimv_disable_clojure")
+ finish
+endif
+
+runtime indent/**/lisp.vim
+
+setlocal nolisp
+setlocal autoindent
+setlocal expandtab
+setlocal indentexpr=SlimvIndent(v:lnum)
+