xref: /vim-8.2.3635/runtime/ftplugin/8th.vim (revision 5d684456)
1" Vim ftplugin file
2" Language:	8th
3" Version:	any
4" Last Change:	2015/11/08
5" Maintainer:	Ron Aaron <[email protected]>
6" URL:          https://8th-dev.com/
7" Filetypes:	*.8th
8" NOTE: 	8th 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" 		This goes with the syntax/8th.vim file.
11
12" Only do this when not done yet for this buffer
13if exists("b:did_8thplugin")
14 finish
15endif
16
17" Don't load another plugin for this buffer
18let b:did_8thplugin = 1
19
20setlocal ts=2 sts=2 sw=2 et
21setlocal com=s1:/*,mb:*,ex:*/,:\|,:\\
22setlocal fo=tcrqol
23setlocal matchpairs+=\::;
24setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255
25setlocal suffixesadd=.8th
26