diff runtime/ftplugin/fennel.vim @ 28620:4d76b3e07c07

Update runtime files Commit: https://github.com/vim/vim/commit/ce001a337e28fa368f40ac6422835d730fb8ebb1 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 27 15:25:03 2022 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Wed, 27 Apr 2022 16:30:04 +0200
parents
children 635de73eeb4c
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/runtime/ftplugin/fennel.vim
@@ -0,0 +1,18 @@
+" 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<'