home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / mac / vim54rt.sit / runtime / syntax / master.vim < prev    next >
Encoding:
Text File  |  1999-08-14  |  1.1 KB  |  39 lines  |  [TEXT/ALFA]

  1. " Vim syntax file
  2. " Language:    Focus Master File
  3. " Maintainer:    Rob Brady <robb@datatone.com>
  4. " URL: http://www.datatone.com/~robb/vim/syntax/master.vim
  5. " $Date: 1999/06/29 23:57:22 $
  6. " $Revision: 1.2 $
  7.  
  8. " this is a very simple syntax file - I will be improving it
  9. " how do I highlight = , $
  10. " I should highlight things in different colors
  11. " this works for all the files in the 'samples' directory, but contact me
  12. "  if you have more convoluted files
  13. " add entire DEFINE syntax
  14.  
  15. " Remove any old syntax stuff hanging around
  16. syn clear
  17.  
  18. syn case match
  19.  
  20. " A bunch of useful keywords
  21. syn keyword masterKeyword FILENAME SUFFIX SEGNAME SEGTYPE PARENT FIELDNAME
  22. syn keyword masterKeyword FIELD ALIAS USAGE INDEX MISSING ON
  23. syn keyword masterKeyword FORMAT CRFILE CRKEY
  24. syn keyword masterDefine  DEFINE DECODE EDIT
  25. syn region  masterString     start=+"+  end=+"+
  26. syn region  masterString     start=+'+  end=+'+
  27. syn match   masterComment "\$.*"
  28.  
  29. if !exists("did_master_syntax_inits")
  30.     let did_master_syntax_inits = 1
  31.     hi link masterKeyword Keyword
  32.     hi link masterComment Comment
  33.     hi link masterString  String
  34. endif
  35.  
  36. let b:current_syntax = "master"
  37.  
  38. " vim: ts=8
  39.