blob: 9825d2484ab9b703a5415eeed6273da8f5d8e1d7 [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>
Bram Moolenaar6ee8d892012-01-10 14:55:01 +01004" URL: http://sites.google.com/site/khorser/opensource/vim
Bram Moolenaar293ee4d2004-12-09 21:34:53 +00005" Original author: Dorai Sitaram <ds26@gte.com>
6" Original URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html
Bram Moolenaard5d015d2013-11-03 21:14:31 +01007" Last Change: Oct 23, 2013
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
Bram Moolenaar9faec4e2021-02-27 16:38:07 +010017setl comments=:;;;;,:;;;,:;;,:;,sr:#\|,mb:\|,ex:\|#
Bram Moolenaar071d4272004-06-13 20:20:40 +000018setl define=^\\s*(def\\k*
19setl formatoptions-=t
20setl iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94
21setl lisp
Bram Moolenaar00154502013-02-13 16:15:55 +010022setl commentstring=;%s
Bram Moolenaar293ee4d2004-12-09 21:34:53 +000023
Bram Moolenaar00154502013-02-13 16:15:55 +010024let b:undo_ftplugin = "setlocal comments< define< formatoptions< iskeyword< lisp< commentstring<"