view runtime/ftplugin/fennel.vim @ 28952:ba083decce5d v8.2.4998

patch 8.2.4998: Vim9: crash when using multiple funcref() Commit: https://github.com/vim/vim/commit/bce69d65dd41020ea1d727337a3baf9e95b40c35 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 22 13:45:52 2022 +0100 patch 8.2.4998: Vim9: crash when using multiple funcref() Problem: Vim9: crash when using multiple funcref(). Solution: Check if varargs type is NULL. (closes https://github.com/vim/vim/issues/10467)
author Bram Moolenaar <Bram@vim.org>
date Sun, 22 May 2022 15:00:02 +0200
parents 4d76b3e07c07
children 635de73eeb4c
line wrap: on
line source

" Vim filetype plugin file
" Language:     Fennel
" Maintainer:   Gregory Anders <greg[NOSPAM]@gpanders.com>
" Last Update:  2022 Apr 20

if exists('b:did_ftplugin')
  finish
endif
let b:did_ftplugin = 1

setlocal commentstring=;%s
setlocal comments=:;;,:;
setlocal formatoptions-=t
setlocal suffixesadd=.fnl
setlocal lisp
setlocal lispwords=accumulate,collect,do,doto,each,eval-compiler,fn,for,icollect,lambda,let,macro,macros,match,match-try,when,while,with-open

let b:undo_ftplugin = 'setlocal commentstring< comments< formatoptions< suffixesadd< lisp< lispwords<'