You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_dtcl-cvs@tcl.apache.org by da...@apache.org on 2001/09/05 17:20:20 UTC
cvs commit: tcl-moddtcl/contrib ttml.vim
davidw 01/09/05 08:20:20
Added: contrib ttml.vim
Log:
Added Woj's vim syntax file for .ttml files.
Revision Changes Path
1.1 tcl-moddtcl/contrib/ttml.vim
Index: ttml.vim
===================================================================
" TTML (mod_dtcl) syntax file.
" Language: Tcl + HTML
" Maintainer: Wojciech Kocjan <zo...@nowiny.net>
" Filenames: *.ttml
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
if !exists("main_syntax")
let main_syntax = 'ttml'
endif
if version < 600
so <sfile>:p:h/html.vim
else
runtime! syntax/html.vim
unlet b:current_syntax
endif
syntax include @tclTop syntax/tcl.vim
syntax region ttmlTcl keepend matchgroup=Delimiter start="<?" end="?>" contains=@tclTop
let b:current_syntax = "ttml"
if main_syntax == 'ttml'
unlet main_syntax
endif