From 11115de7470f8adef7255eea26e33e96ff09866d Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Wed, 14 Mar 2018 11:40:26 +0000 Subject: [PATCH] Revert "removed htmlNormal group" This reverts commit 498d4c54c587fc1f1577a68b18998e6768011ba8. --- vim/syntax/html.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vim/syntax/html.vim b/vim/syntax/html.vim index 8555e71..62e995a 100644 --- a/vim/syntax/html.vim +++ b/vim/syntax/html.vim @@ -27,6 +27,10 @@ syn case ignore " mark illegal characters 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 @@ -316,6 +320,7 @@ if main_syntax == "html" endif " The default highlighting. +hi def link htmlNormal Normal hi def link htmlTag Function hi def link htmlEndTag Identifier hi def link htmlArg Type