vim/ftplugin/makerlisp/makerlisp.vim @ 65b7fdace3da

More documentation shortcuts
author Steve Losh <steve@stevelosh.com>
date Tue, 13 Jul 2021 14:07:56 -0400
parents aa1cc443308a
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<"