blob: 00d4919c2f9576717e4e722aeef0f7324e3fb7e4 [file] [log] [blame]
Bram Moolenaar446cb832008-06-24 21:56:24 +00001" Vim ftplugin file
2" Language: Reva Forth
3" Version: 7.1
Riley Bruins138fb952025-06-10 21:00:07 +02004" Last Change: 2025 Jun 08
Bram Moolenaar446cb832008-06-24 21:56:24 +00005" Maintainer: Ron Aaron <ron@ronware.org>
Riley Bruins138fb952025-06-10 21:00:07 +02006" URL: https://github.com/ronaaron/reva
Bram Moolenaar446cb832008-06-24 21:56:24 +00007" 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")
15 finish
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:*/,:\|,:\\
Riley Bruins138fb952025-06-10 21:00:07 +020023setlocal cms=//\ %s
Bram Moolenaar446cb832008-06-24 21:56:24 +000024setlocal fo=tcrqol
25setlocal matchpairs+=\::;
26setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255
Bram Moolenaarce001a32022-04-27 15:25:03 +010027
Riley Bruins138fb952025-06-10 21:00:07 +020028let b:undo_ftplugin = "setlocal sts< sw< com< cms< fo< mps< isk<"