Bram Moolenaar | 446cb83 | 2008-06-24 21:56:24 +0000 | [diff] [blame] | 1 | " Vim ftplugin file |
| 2 | " Language: Reva Forth |
| 3 | " Version: 7.1 |
| 4 | " Last Change: 2008/01/11 |
| 5 | " 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 |
| 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 fo=tcrqol |
| 24 | setlocal matchpairs+=\::; |
| 25 | setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255 |