File: rvt.vim

package info (click to toggle)
libapache2-mod-rivet 2.2.0-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,884 kB
  • ctags: 1,016
  • sloc: sh: 12,406; xml: 6,972; tcl: 6,149; ansic: 5,515; makefile: 200; 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