vim/bundle/lispyscript/indent/lispyscript.vim @ 1af7dc6e1a4a
Switch aliases to functions in fish because alias is now slow as balls.
| author | Steve Losh <steve@stevelosh.com> |
|---|---|
| date | Thu, 24 Jan 2013 12:23:21 -0500 |
| parents | fe6c2182539e |
| children | (none) |
" For now we'll just use normal Lisp indenting because it's 1 AM and I want to " go to bed. " " TODO: Steal VimClojure's magic indenting. if exists("b:did_indent") finish endif let b:did_indent = 1 let s:save_cpo = &cpo set cpo&vim setlocal expandtab nosmartindent setlocal softtabstop=2 setlocal shiftwidth=2 setlocal indentkeys=!,o,O setlocal autoindent setlocal indentexpr= setlocal lisp " Special words go here. setlocal lispwords=function,macro,do,->,var setlocal lispwords+=if,cond,when,unless setlocal lispwords+=try setlocal lispwords+=loop,each,each2d,eachKey,reduce,map,for " Custom: setlocal lispwords+=defn let &cpo = s:save_cpo