Revert "removed htmlNormal group"

This reverts commit 498d4c54c5.
This commit is contained in:
ManjaroOne666 2018-03-14 11:40:26 +00:00
parent 601c258e73
commit 11115de747
1 changed files with 5 additions and 0 deletions

View File

@ -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