blob: 9482833346caf2c3a5cebc9f2e82991ffcf5e62d [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001" Vim filetype plugin
2" Language: Lisp
Bram Moolenaar293ee4d2004-12-09 21:34:53 +00003" Maintainer: Sergey Khorev <sergey.khorev@gmail.com>
4" URL: http://iamphet.nm.ru/vim
5" Original author: Dorai Sitaram <ds26@gte.com>
6" Original URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html
7" Last Change: Nov 8, 2004
Bram Moolenaar071d4272004-06-13 20:20:40 +00008
9" Only do this when not done yet for this buffer
10if exists("b:did_ftplugin")
11 finish
12endif
13
14" Don't load another plugin for this buffer
15let b:did_ftplugin = 1
16
17setl autoindent
18setl comments=:;
19setl define=^\\s*(def\\k*
20setl formatoptions-=t
21setl iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94
22setl lisp
Bram Moolenaar293ee4d2004-12-09 21:34:53 +000023
24" make comments behaviour like in c.vim
25" e.g. insertion of ;;; and ;; on normal "O" or "o" when staying in comment
26setl comments^=:;;;,:;;,sr:#\|,mb:\|,ex:\|#
27setl formatoptions+=croql
28" with smartindent # cause left alignment
29setl nosmartindent
30