File: rvt.vim

package info (click to toggle)
libapache2-mod-rivet 3.2.2-1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 6,296 kB
  • sloc: xml: 8,554; tcl: 7,568; ansic: 7,094; sh: 5,017; makefile: 195; sql: 91; lisp: 78
file content (32 lines) | stat: -rw-r--r-- 577 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
" RVT (mod_dtcl) syntax file.
" Language:	Tcl + HTML
" Maintainer:	Wojciech Kocjan <zoro@nowiny.net>
" Filenames:	*.rvt

if version < 600
  syntax clear
elseif exists("b:current_syntax")
  finish
endif

if !exists("main_syntax")
  let main_syntax = 'rvt'
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 rvtTcl keepend matchgroup=Delimiter start="<?" end="?>" contains=@tclTop

let b:current_syntax = "rvt"

if main_syntax == 'rvt'
  unlet main_syntax
endif