lisp.vim (845B)
1 " Vim filetype plugin 2 " Language: Lisp 3 " Maintainer: Sergey Khorev <sergey.khorev@gmail.com> 4 " URL: http://sites.google.com/site/khorser/opensource/vim 5 " Original author: Dorai Sitaram <ds26@gte.com> 6 " Original URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html 7 " Last Change: Mar 10, 2021 8 " May 23, 2024 by Riley Bruins <ribru17@gmail.com> ('commentstring') 9 10 " Only do this when not done yet for this buffer 11 if exists("b:did_ftplugin") 12 finish 13 endif 14 15 " Don't load another plugin for this buffer 16 let b:did_ftplugin = 1 17 18 setl comments=:;;;;,:;;;,:;;,:;,sr:#\|,mb:\|,ex:\|# 19 setl define=^\\s*(def\\k* 20 setl formatoptions-=t 21 setl iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94 22 setl lisp 23 setl commentstring=;\ %s 24 25 let b:undo_ftplugin = "setlocal comments< define< formatoptions< iskeyword< lisp< commentstring<"