vim/ftplugin/makerlisp/makerlisp.vim @ aa1cc443308a

Makerlisp
author Steve Losh <steve@stevelosh.com>
date Sat, 20 Apr 2019 13:17:59 -0400
parents (none)
children (none)
" Copy of the vanilla Lisp runtime file with some minor changes.
if exists("b:did_ftplugin")
  finish
endif
let b:did_ftplugin = 1

setl comments=:;
setl define=^\\s*(def\\k*
setl formatoptions-=t
setl iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94
setl lisp
setl commentstring=;;\ %s

setl comments^=:;;;,:;;,sr:#\|,mb:\|,ex:\|#

let b:undo_ftplugin = "setlocal comments< define< formatoptions< iskeyword< lisp< commentstring<"