view runtime/syntax/aspperl.vim @ 17490:367ef00c6258 v8.1.1743

patch 8.1.1743: 'hlsearch' and match highlighting in the wrong place commit https://github.com/vim/vim/commit/bbca7732e8a3deb6e5dcf84739579a2667a75475 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 24 18:13:16 2019 +0200 patch 8.1.1743: 'hlsearch' and match highlighting in the wrong place Problem: 'hlsearch' and match highlighting in the wrong place. Solution: Move highlighting from inside screen functions to highlight.c.
author Bram Moolenaar <Bram@vim.org>
date Wed, 24 Jul 2019 18:15:06 +0200
parents 43efa4f5a8ea
children
line wrap: on
line source

" Vim syntax file
" Language:	Active State's PerlScript (ASP)
" Maintainer:	Aaron Hope <edh@brioforge.com>
" URL:		http://nim.dhs.org/~edh/aspperl.vim
" Last Change:	2001 May 09

" quit when a syntax file was already loaded
if exists("b:current_syntax")
  finish
endif

if !exists("main_syntax")
  let main_syntax = 'perlscript'
endif

runtime! syntax/html.vim
unlet b:current_syntax
syn include @AspPerlScript syntax/perl.vim

syn cluster htmlPreproc add=AspPerlScriptInsideHtmlTags

syn region  AspPerlScriptInsideHtmlTags keepend matchgroup=Delimiter start=+<%=\=+ skip=+".*%>.*"+ end=+%>+ contains=@AspPerlScript
syn region  AspPerlScriptInsideHtmlTags keepend matchgroup=Delimiter start=+<script\s\+language="\=perlscript"\=[^>]*>+ end=+</script>+ contains=@AspPerlScript

let b:current_syntax = "aspperl"