Skip to content

Commit e1faf51

Browse files
committed
Fix logXmlEntity & escape and add numeric ref. support, for #8 and #10
1 parent e880f22 commit e1faf51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/log.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ syn match logXmlAttribute contained "\(\n\|\s\)\(\(\w\|-\)\+:\)\?\(\w\|-\)\+\
8585
syn match logXmlNamespace contained "\(\w\|-\)\+:" contains=logOperator
8686
syn region logXmlComment start=/<!--/ end=/-->/
8787
syn match logXmlCData /<!\[CDATA\[.*\]\]>/
88-
syn match logXmlEntity /\&\w\+;/
88+
syn match logXmlEntity /&#\?\w\+;/
8989

9090

9191
" Levels

0 commit comments

Comments
 (0)