Mercurial > vim
annotate runtime/ftplugin/lisp.vim @ 3445:2cfb68fa26cd
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 28 Mar 2012 20:51:51 +0200 |
parents | 94601b379f38 |
children | 61bcafd8c648 |
rev | line source |
---|---|
7 | 1 " Vim filetype plugin |
2 " Language: Lisp | |
36 | 3 " Maintainer: Sergey Khorev <sergey.khorev@gmail.com> |
3256 | 4 " URL: http://sites.google.com/site/khorser/opensource/vim |
36 | 5 " Original author: Dorai Sitaram <ds26@gte.com> |
6 " Original URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html | |
3410
94601b379f38
Updated runtime files. Add Dutch translations.
Bram Moolenaar <bram@vim.org>
parents:
3256
diff
changeset
|
7 " Last Change: Mar 5, 2012 |
7 | 8 |
9 " Only do this when not done yet for this buffer | |
10 if exists("b:did_ftplugin") | |
11 finish | |
12 endif | |
13 | |
14 " Don't load another plugin for this buffer | |
15 let b:did_ftplugin = 1 | |
16 | |
17 setl comments=:; | |
18 setl define=^\\s*(def\\k* | |
19 setl formatoptions-=t | |
20 setl iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94 | |
21 setl lisp | |
36 | 22 |
23 " make comments behaviour like in c.vim | |
24 " e.g. insertion of ;;; and ;; on normal "O" or "o" when staying in comment | |
25 setl comments^=:;;;,:;;,sr:#\|,mb:\|,ex:\|# | |
26 setl formatoptions+=croql | |
3410
94601b379f38
Updated runtime files. Add Dutch translations.
Bram Moolenaar <bram@vim.org>
parents:
3256
diff
changeset
|
27 |
94601b379f38
Updated runtime files. Add Dutch translations.
Bram Moolenaar <bram@vim.org>
parents:
3256
diff
changeset
|
28 let b:undo_ftplugin = "setlocal comments< define< formatoptions< iskeyword< lisp<" |