0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

Update for jsp syntax file.

This commit is contained in:
Bram Moolenaar 2010-08-07 13:46:23 +02:00
parent d3dd26658c
commit 311dc17d96

View File

@ -30,7 +30,7 @@ unlet b:current_syntax
syn case match
" Include Java syntax
syn include @jspJava <sfile>:p:h/java.vim
syn include @jspJava syntax/java.vim
syn region jspScriptlet matchgroup=jspTag start=/<%/ keepend end=/%>/ contains=@jspJava
syn region jspComment start=/<%--/ end=/--%>/
@ -48,7 +48,8 @@ syn keyword jspCommandArg contained code codebase name archive align height
syn keyword jspCommandArg contained width hspace vspace jreversion nspluginurl iepluginurl
" Redefine htmlTag so that it can contain jspExpr
syn region htmlTag start=+<[^/%]+ end=+>+ contains=htmlTagN,htmlString,htmlArg,htmlValue,htmlTagError,htmlEvent,htmlCssDefinition,@htmlPreproc,@htmlArgCluster,jspExpr
syn clear htmlTag
syn region htmlTag start=+<[^/%]+ end=+>+ contains=htmlTagN,htmlString,htmlArg,htmlValue,htmlTagError,htmlEvent,htmlCssDefinition,@htmlPreproc,@htmlArgCluster,jspExpr,javaScript
" Define the default highlighting.
" For version 5.7 and earlier: only when not done already