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 / htmlcheetah.vim < prev    next >
Encoding:
Text File  |  2003-05-13  |  672 b   |  33 lines

  1. " Vim syntax file
  2. " Language:    HTML with Cheetah tags
  3. " Maintainer:    Max Ischenko <mfi@ukr.net>
  4. " Last Change: 2003-05-11
  5.  
  6. " For version 5.x: Clear all syntax items
  7. " For version 6.x: Quit when a syntax file was already loaded
  8. if version < 600
  9.   syntax clear
  10. elseif exists("b:current_syntax")
  11.   finish
  12. endif
  13.  
  14. if !exists("main_syntax")
  15.   let main_syntax = 'html'
  16. endif
  17.  
  18. if version < 600
  19.   so <sfile>:p:h/cheetah.vim
  20.   so <sfile>:p:h/html.vim
  21. else
  22.   runtime! syntax/cheetah.vim
  23.   runtime! syntax/html.vim
  24.   unlet b:current_syntax
  25. endif
  26.  
  27. syntax cluster htmlPreproc add=cheetahPlaceHolder
  28. syntax cluster htmlString add=cheetahPlaceHolder
  29.  
  30. let b:current_syntax = "htmlcheetah"
  31.  
  32.  
  33.