tcl-mod_dtcl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject cvs commit: tcl-moddtcl/contrib ttml.vim
Date Wed, 05 Sep 2001 15:20:20 GMT
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 <zoro@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
  
  
  

Mime
View raw message