1" Vim syntax file 2" Language: HTML with Cheetah tags 3" Maintainer: Max Ischenko <[email protected]> 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 8if version < 600 9 syntax clear 10elseif exists("b:current_syntax") 11 finish 12endif 13 14if !exists("main_syntax") 15 let main_syntax = 'html' 16endif 17 18if version < 600 19 so <sfile>:p:h/cheetah.vim 20 so <sfile>:p:h/html.vim 21else 22 runtime! syntax/cheetah.vim 23 runtime! syntax/html.vim 24 unlet b:current_syntax 25endif 26 27syntax cluster htmlPreproc add=cheetahPlaceHolder 28syntax cluster htmlString add=cheetahPlaceHolder 29 30let b:current_syntax = "htmlcheetah" 31 32 33