reva.vim 772 B

12345678910111213141516171819202122232425262728
  1. " Vim ftplugin file
  2. " Language: Reva Forth
  3. " Version: 7.1
  4. " Last Change: 2022 Apr 27
  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. " Only do this when not done yet for this buffer
  13. if exists("b:did_ftplugin")
  14. finish
  15. endif
  16. " Don't load another plugin for this buffer
  17. let b:did_ftplugin = 1
  18. setlocal sts=4 sw=4
  19. setlocal com=s1:/*,mb:*,ex:*/,:\|,:\\
  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. let b:undo_ftplugin = "setlocal sts< sw< com< fo< mps< isk<"