neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

8th.vim (833B)


      1 " Vim ftplugin file
      2 " Language:	8th
      3 " Version:	any
      4 " Last Change:	2021 Sep 20
      5 " Last Change:	2021/09/20
      6 " Maintainer:	Ron Aaron <ron@aaron-tech.com>
      7 " URL:		https://8th-dev.com/
      8 " Filetypes:	*.8th
      9 " NOTE: 	8th allows any non-whitespace in a name, so you need to do:
     10 " 		setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255
     11 " 		This goes with the syntax/8th.vim file.
     12 
     13 " Only do this when not done yet for this buffer
     14 if exists("b:did_8thplugin")
     15 finish
     16 endif
     17 
     18 " Don't load another 8th plugin for this buffer
     19 let b:did_8thplugin = 1
     20 
     21 setlocal ts=2 sts=2 sw=2 et
     22 setlocal com=s1:/*,mb:*,ex:*/,b:--,be:\\
     23 setlocal fo=tcrqol
     24 setlocal matchpairs+=\::;
     25 setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255
     26 setlocal suffixesadd=.8th
     27 let b:undo_ftplugin = "setlocal ts< sts< sw< et< com< fo< mps< isk< sua<"