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 / unix / vim-6.2.tar.bz2 / vim-6.2.tar / vim62 / runtime / syntax / sendpr.vim < prev    next >
Encoding:
Text File  |  2002-03-21  |  925 b   |  33 lines

  1. " Vim syntax file
  2. " Language: FreeBSD send-pr file
  3. " Maintainer: Hendrik Scholz <hendrik@scholz.net>
  4. " Last Change: 2002 Mar 21
  5. "
  6. " http://raisdorf.net/files/misc/send-pr.vim
  7.  
  8. " For version 5.x: Clear all syntax items
  9. " For version 6.x: Quit when a syntax file was already loaded
  10. if version < 600
  11.   syntax clear
  12. elseif exists("b:current_syntax")
  13.   finish
  14. endif
  15.  
  16. syn match sendprComment /^SEND-PR:/
  17. " email address
  18. syn match sendprType /<[a-zA-Z0-9\-\_\.]*@[a-zA-Z0-9\-\_\.]*>/
  19. " ^> lines
  20. syn match sendprString /^>[a-zA-Z\-]*:/
  21. syn region sendprLabel start="\[" end="\]"
  22. syn match sendprString /^To:/
  23. syn match sendprString /^From:/
  24. syn match sendprString /^Reply-To:/
  25. syn match sendprString /^Cc:/
  26. syn match sendprString /^X-send-pr-version:/
  27. syn match sendprString /^X-GNATS-Notify:/
  28.  
  29. hi def link sendprComment   Comment
  30. hi def link sendprType      Type
  31. hi def link sendprString    String
  32. hi def link sendprLabel     Label
  33.