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

  1. " Vim syntax file
  2. " Language:    Vim .viminfo file
  3. " Maintainer:    Bram Moolenaar <Bram@vim.org>
  4. " Last change:    1997 Sep 15
  5.  
  6. " Remove any old syntax stuff hanging around
  7. syn clear
  8.  
  9. " The lines that are NOT recognized
  10. syn match viminfoError "^[^\t].*"
  11.  
  12. " The one-character one-liners that are recognized
  13. syn match viminfoStatement "^[/&$:?=%]"
  14.  
  15. " The two-character one-liners that are recognized
  16. syn match viminfoStatement "^['>"]."
  17. syn match viminfoStatement "^\~[/&]"
  18.  
  19. " Comments
  20. syn match viminfoComment "^#.*"
  21.  
  22. if !exists("did_viminfo_syntax_inits")
  23.   let did_viminfo_syntax_inits = 1
  24.   " The default methods for highlighting.  Can be overridden later
  25.   hi link viminfoComment        Comment
  26.   hi link viminfoError        Error
  27.   hi link viminfoStatement    Statement
  28. endif
  29.  
  30. let b:current_syntax = "viminfo"
  31.  
  32. " vim: ts=8
  33.