parent
601c258e73
commit
11115de747
|
@ -27,6 +27,10 @@ syn case ignore
|
||||||
" mark illegal characters
|
" mark illegal characters
|
||||||
syn match htmlError "[<>&]"
|
syn match htmlError "[<>&]"
|
||||||
|
|
||||||
|
if main_syntax == 'html' || main_syntax == 'php'
|
||||||
|
syn region htmlNormal start=".*" end=".*" contains=TOP,HtmlError,HtmlCommentError,htmlPreProcAttrError
|
||||||
|
endif
|
||||||
|
|
||||||
syn region htmlString contained start=+"+ end=+"+ contains=htmlSpecialChar,javaScriptExpression,@htmlPreproc keepend
|
syn region htmlString contained start=+"+ end=+"+ contains=htmlSpecialChar,javaScriptExpression,@htmlPreproc keepend
|
||||||
syn region htmlString contained start=+'+ end=+'+ contains=htmlSpecialChar,javaScriptExpression,@htmlPreproc keepend
|
syn region htmlString contained start=+'+ end=+'+ contains=htmlSpecialChar,javaScriptExpression,@htmlPreproc keepend
|
||||||
|
|
||||||
|
@ -316,6 +320,7 @@ if main_syntax == "html"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" The default highlighting.
|
" The default highlighting.
|
||||||
|
hi def link htmlNormal Normal
|
||||||
hi def link htmlTag Function
|
hi def link htmlTag Function
|
||||||
hi def link htmlEndTag Identifier
|
hi def link htmlEndTag Identifier
|
||||||
hi def link htmlArg Type
|
hi def link htmlArg Type
|
||||||
|
|
Loading…
Reference in New Issue