master.vim 1022 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. " Vim syntax file
  2. " Language: Focus Master File
  3. " Maintainer: Rob Brady <robb@datatone.com>
  4. " Last Change: $Date: 2004/06/13 15:54:03 $
  5. " URL: http://www.datatone.com/~robb/vim/syntax/master.vim
  6. " $Revision: 1.1 $
  7. " this is a very simple syntax file - I will be improving it
  8. " add entire DEFINE syntax
  9. " quit when a syntax file was already loaded
  10. if exists("b:current_syntax")
  11. finish
  12. endif
  13. syn case match
  14. " A bunch of useful keywords
  15. syn keyword masterKeyword FILENAME SUFFIX SEGNAME SEGTYPE PARENT FIELDNAME
  16. syn keyword masterKeyword FIELD ALIAS USAGE INDEX MISSING ON
  17. syn keyword masterKeyword FORMAT CRFILE CRKEY
  18. syn keyword masterDefine DEFINE DECODE EDIT
  19. syn region masterString start=+"+ end=+"+
  20. syn region masterString start=+'+ end=+'+
  21. syn match masterComment "\$.*"
  22. " Define the default highlighting.
  23. " Only when an item doesn't have highlighting yet
  24. hi def link masterKeyword Keyword
  25. hi def link masterComment Comment
  26. hi def link masterString String
  27. let b:current_syntax = "master"
  28. " vim: ts=8