Mercurial > vim
comparison runtime/ftplugin/lisp.vim @ 36:125e80798a85 v7.0021
updated for version 7.0021
author | vimboss |
---|---|
date | Thu, 09 Dec 2004 21:34:53 +0000 |
parents | 3fc0f57ecb91 |
children | fca8a9b65afa |
comparison
equal
deleted
inserted
replaced
35:8f3a526c2fe1 | 36:125e80798a85 |
---|---|
1 " Vim filetype plugin | 1 " Vim filetype plugin |
2 " Language: Lisp | 2 " Language: Lisp |
3 " Maintainer: Dorai Sitaram <ds26@gte.com> | 3 " Maintainer: Sergey Khorev <sergey.khorev@gmail.com> |
4 " URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html | 4 " URL: http://iamphet.nm.ru/vim |
5 " Last Change: May 15, 2003 | 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 | |
6 | 8 |
7 " Only do this when not done yet for this buffer | 9 " Only do this when not done yet for this buffer |
8 if exists("b:did_ftplugin") | 10 if exists("b:did_ftplugin") |
9 finish | 11 finish |
10 endif | 12 endif |
16 setl comments=:; | 18 setl comments=:; |
17 setl define=^\\s*(def\\k* | 19 setl define=^\\s*(def\\k* |
18 setl formatoptions-=t | 20 setl formatoptions-=t |
19 setl iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94 | 21 setl iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94 |
20 setl lisp | 22 setl lisp |
23 | |
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 | |
28 " with smartindent # cause left alignment | |
29 setl nosmartindent | |
30 |