codekingpro/portable-devtools
114k
1" Vim syntax file2" Language: Active State's PerlScript (ASP)3" Maintainer: Aaron Hope <edh@brioforge.com>4" URL: http://nim.dhs.org/~edh/aspperl.vim5" Last Change: 2001 May 096 7" quit when a syntax file was already loaded8if exists("b:current_syntax")9 finish10endif11 12if !exists("main_syntax")13 let main_syntax = 'perlscript'14endif15 16runtime! syntax/html.vim17unlet b:current_syntax18syn include @AspPerlScript syntax/perl.vim19 20syn cluster htmlPreproc add=AspPerlScriptInsideHtmlTags21 22syn region AspPerlScriptInsideHtmlTags keepend matchgroup=Delimiter start=+<%=\=+ skip=+".*%>.*"+ end=+%>+ contains=@AspPerlScript23syn region AspPerlScriptInsideHtmlTags keepend matchgroup=Delimiter start=+<script\s\+language="\=perlscript"\=[^>]*>+ end=+</script>+ contains=@AspPerlScript24 25let b:current_syntax = "aspperl"26 