15878
|
1 " Vim ftplugin file
|
|
2 " Language: 8th
|
|
3 " Version: any
|
25836
|
4 " Last Change: 2021 Sep 20
|
|
5 " Last Change: 2021/09/20
|
15878
|
6 " Maintainer: Ron Aaron <ron@aaron-tech.com>
|
25836
|
7 " URL: https://8th-dev.com/
|
15878
|
8 " Filetypes: *.8th
|
|
9 " NOTE: 8th allows any non-whitespace in a name, so you need to do:
|
|
10 " setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255
|
|
11 " This goes with the syntax/8th.vim file.
|
|
12
|
|
13 " Only do this when not done yet for this buffer
|
|
14 if exists("b:did_8thplugin")
|
|
15 finish
|
|
16 endif
|
|
17
|
25836
|
18 " Don't load another 8th plugin for this buffer
|
15878
|
19 let b:did_8thplugin = 1
|
|
20
|
|
21 setlocal ts=2 sts=2 sw=2 et
|
25836
|
22 setlocal com=s1:/*,mb:*,ex:*/,b:--,be:\\
|
15878
|
23 setlocal fo=tcrqol
|
|
24 setlocal matchpairs+=\::;
|
|
25 setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255
|
|
26 setlocal suffixesadd=.8th
|
25836
|
27 let b:undo_ftplugin = "setlocal ts< sts< sw< et< com< fo< mps< isk< sua<"
|