Added syntax highlighting for XML Entities

This commit is contained in:
MTDL9
2018-07-11 08:34:46 +02:00
parent e44435b6ba
commit 23dffe8a1e

View File

@@ -70,6 +70,7 @@ syn match logXmlAttribute contained "\(\n\|\s\)\(\w\+:\)\?\w\+" contains=logX
syn match logXmlNamespace contained "\w\+:" contains=logOperator
syn region logXmlComment start=/<!--/ end=/-->/
syn match logXmlCData /<!\[CDATA\[.*\]\]>/
syn match logXmlEntity /\&\w\+;/
" Levels
@@ -111,6 +112,7 @@ hi def link logXmlAttribute Type
hi def link logXmlNamespace Include
hi def link logXmlComment Comment
hi def link logXmlCData String
hi def link logXmlEntity Special
hi def link logOperator Operator
hi def link logBrackets Comment