From 23dffe8a1e082b5e1515fff2804eee479c8ea6cb Mon Sep 17 00:00:00 2001 From: MTDL9 <40929090+MTDL9@users.noreply.github.com> Date: Wed, 11 Jul 2018 08:34:46 +0200 Subject: [PATCH] Added syntax highlighting for XML Entities --- syntax/log.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/syntax/log.vim b/syntax/log.vim index f95eed6..6de402e 100644 --- a/syntax/log.vim +++ b/syntax/log.vim @@ -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=// syn match logXmlCData // +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