neovim

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

reva.vim (805B)


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