8th.vim 833 B

12345678910111213141516171819202122232425262728
  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. " Only do this when not done yet for this buffer
  13. if exists("b:did_8thplugin")
  14. finish
  15. endif
  16. " Don't load another 8th plugin for this buffer
  17. let b:did_8thplugin = 1
  18. setlocal ts=2 sts=2 sw=2 et
  19. setlocal com=s1:/*,mb:*,ex:*/,b:--,be:\\
  20. setlocal fo=tcrqol
  21. setlocal matchpairs+=\::;
  22. setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255
  23. setlocal suffixesadd=.8th
  24. let b:undo_ftplugin = "setlocal ts< sts< sw< et< com< fo< mps< isk< sua<"