xref: /vim-8.2.3635/runtime/ftplugin/lisp.vim (revision 56994d21)
1" Vim filetype plugin
2" Language:      Lisp
3" Maintainer:    Sergey Khorev <[email protected]>
4" URL:		 http://sites.google.com/site/khorser/opensource/vim
5" Original author:    Dorai Sitaram <[email protected]>
6" Original URL:		 http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html
7" Last Change:   Mar 10, 2021
8
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 comments=:;;;;,:;;;,:;;,:;,sr:#\|,mb:\|,ex:\|#
18setl define=^\\s*(def\\k*
19setl formatoptions-=t
20setl iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94
21setl lisp
22setl commentstring=;%s
23
24let b:undo_ftplugin = "setlocal comments< define< formatoptions< iskeyword< lisp< commentstring<"
25