robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
719c7e2312
master
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 14if exists ( "b:did_ftplugin" ) 15finish 16endif 17 18" Don't load another plugin for this buffer 19let b: did_ftplugin = 1 20 21setlocal sts = 4 sw = 4 22setlocal com = s1:/*,mb:*,ex:*/,:\|,:\\ 23setlocal cms = //\ %s 24setlocal fo = tcrqol 25setlocal matchpairs += \::; 26setlocal iskeyword = !,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255 27 28let b: undo_ftplugin = "setlocal sts< sw< com< cms< fo< mps< isk<"