blob: 29ecab0d0ae6a31efc9ef5af2af162f4fb7bd7e8 [file] [log] [blame]
Bram Moolenaar446cb832008-06-24 21:56:24 +00001" Vim ftplugin file
2" Language: Reva Forth
3" Version: 7.1
Bram Moolenaarce001a32022-04-27 15:25:03 +01004" Last Change: 2022 Apr 27
Bram Moolenaar446cb832008-06-24 21:56:24 +00005" Maintainer: Ron Aaron <ron@ronware.org>
6" URL: http://ronware.org/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")
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:*/,:\|,:\\
23setlocal fo=tcrqol
24setlocal matchpairs+=\::;
25setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255
Bram Moolenaarce001a32022-04-27 15:25:03 +010026
27let b:undo_ftplugin = "setlocal sts< sw< com< fo< mps< isk<"