Install vim74
[msysgit.git] / share / vim / vim74 / ftplugin / lisp.vim
blob8bf6ae411c660a8233ce91e61b5df3334229a235
1 " Vim filetype plugin
2 " Language:      Lisp
3 " Maintainer:    Sergey Khorev <sergey.khorev@gmail.com>
4 " URL:           http://sites.google.com/site/khorser/opensource/vim
5 " Original author:    Dorai Sitaram <ds26@gte.com>
6 " Original URL:          http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html
7 " Last Change:   Feb 12, 2013
9 " Only do this when not done yet for this buffer
10 if exists("b:did_ftplugin")
11   finish
12 endif
14 " Don't load another plugin for this buffer
15 let b:did_ftplugin = 1
17 setl comments=:;
18 setl define=^\\s*(def\\k*
19 setl formatoptions-=t
20 setl iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94
21 setl lisp
22 setl commentstring=;%s
24 " make comments behaviour like in c.vim
25 " e.g. insertion of ;;; and ;; on normal "O" or "o" when staying in comment
26 setl comments^=:;;;,:;;,sr:#\|,mb:\|,ex:\|#
27 setl formatoptions+=croql
29 let b:undo_ftplugin = "setlocal comments< define< formatoptions< iskeyword< lisp< commentstring<"