1" Vim ftplugin file 2" Language: 8th 3" Version: any 4" Last Change: 2021 Sep 20 5" Last Change: 2021/09/20 6" Maintainer: Ron Aaron <ron@aaron-tech.com> 7" URL: https://8th-dev.com/ 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 14if exists("b:did_8thplugin") 15 finish 16endif 17 18" Don't load another 8th plugin for this buffer 19let b:did_8thplugin = 1 20 21setlocal ts=2 sts=2 sw=2 et 22setlocal com=s1:/*,mb:*,ex:*/,b:--,be:\\ 23setlocal fo=tcrqol 24setlocal matchpairs+=\::; 25setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255 26setlocal suffixesadd=.8th 27let b:undo_ftplugin = "setlocal ts< sts< sw< et< com< fo< mps< isk< sua<" 28