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

  1. " Vim syntax file 
  2. " Language:     X resources files like ~/.Xdefaults
  3. " Maintainer:   Gautam H. Mudunuri <gmudunur@informatica.com>
  4. " Last change:  1998/5/21 (really!)
  5.  
  6. " clear any unwanted syntax defs
  7. syn clear
  8.  
  9. " shut case off
  10. syn case ignore
  11.  
  12. syn match  xdefaultsLabel           /^.\{-}:/he=e-1
  13. syn match  xdefaultsValue           /:.*$/lc=1
  14. syn match  xdefaultsCommentedLine   "!.*$"
  15.  
  16. if !exists("did_xdefaults_syntax_inits")
  17.         let did_xdefaults_syntax_inits = 1
  18.         " The default methods for highlighting.  Can be overridden later
  19.         hi link xdefaultsLabel         Type
  20.         hi link xdefaultsValue         Constant
  21.         hi link xdefaultsCommentedLine Comment
  22. endif
  23.  
  24. let b:current_syntax = "xdefaults"
  25.  
  26. " vim:ts=8
  27.