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:
parent
d3dd26658c
commit
311dc17d96
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user