home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 February / OpenLinux 2.3 CD.iso / live / usr / share / vim / syntax / po.vim < prev    next >
Encoding:
Text File  |  1999-08-10  |  755 b   |  28 lines

  1. " Vim syntax file
  2. " Language   : po (GNU gettext)
  3. " Maintainer : Sung-Hyun Nam <namsh@lgic.co.kr>
  4. " Last change: 1998/05/27
  5.  
  6. " remove any old syntax stuff hanging around
  7. syn clear
  8.  
  9. syn match poComment    "^#.*$"
  10. syn match poSources    "^#:.*$"
  11. syn match poStatement    "^\(msgid\|msgstr\)"
  12. syn match poSpecial    contained "\\[0-7][0-7][0-7]\=\|\\."
  13. syn region poString    start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=poSpecial
  14.  
  15. if !exists("did_po_syntax_inits")
  16.   let did_po_syntax_inits = 1
  17.   " The default methods for highlighting.  Can be overridden later.
  18.   hi link poComment    Comment
  19.   hi link poSources    PreProc
  20.   hi link poStatement    Statement
  21.   hi link poSpecial    Special
  22.   hi link poString    String
  23. endif
  24.  
  25. let b:current_syntax = "po"
  26.  
  27. " vim:set ts=8 sts=8 sw=8 noet:
  28.