blob: fe3c6fe996692191d7ec4628ca5056841ec457ab [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 Moolenaardad44732021-03-31 20:07:33 +02007" Last Change: Mar 10, 2021
Riley Bruins0a083062024-06-03 20:40:45 +02008" May 23, 2024 by Riley Bruins <ribru17@gmail.com> ('commentstring')
Bram Moolenaar071d4272004-06-13 20:20:40 +00009
10" Only do this when not done yet for this buffer
11if exists("b:did_ftplugin")
12 finish
13endif
14
15" Don't load another plugin for this buffer
16let b:did_ftplugin = 1
17
Bram Moolenaar9faec4e2021-02-27 16:38:07 +010018setl comments=:;;;;,:;;;,:;;,:;,sr:#\|,mb:\|,ex:\|#
Bram Moolenaar071d4272004-06-13 20:20:40 +000019setl define=^\\s*(def\\k*
20setl formatoptions-=t
21setl iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94
22setl lisp
Riley Bruins0a083062024-06-03 20:40:45 +020023setl commentstring=;\ %s
Bram Moolenaar293ee4d2004-12-09 21:34:53 +000024
Bram Moolenaar00154502013-02-13 16:15:55 +010025let b:undo_ftplugin = "setlocal comments< define< formatoptions< iskeyword< lisp< commentstring<"