vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

fennel.vim (777B)


      1 " Vim filetype plugin file
      2 " Language:     Fennel
      3 " Maintainer:   Gregory Anders <greg[NOSPAM]@gpanders.com>
      4 " Last Update:  2023 Jun 9
      5 "               2024 May 24 by Riley Bruins <ribru17@gmail.com> ('commentstring')
      6 "               2026 Jun 22 by yilisharcs, add all more lisp 'comments' #20579
      7 
      8 if exists('b:did_ftplugin')
      9   finish
     10 endif
     11 let b:did_ftplugin = 1
     12 
     13 setlocal commentstring=;\ %s
     14 setlocal comments=:;;;;,:;;;,:;;,:;
     15 setlocal formatoptions-=t
     16 setlocal suffixesadd=.fnl
     17 setlocal lisp
     18 setlocal lispwords=accumulate,case,case-try,collect,do,doto,each,eval-compiler,faccumulate,fcollect,fn,for,icollect,lambda,let,macro,macros,match,match-try,when,while,with-open
     19 
     20 let b:undo_ftplugin = 'setlocal commentstring< comments< formatoptions< suffixesadd< lisp< lispwords<'