summaryrefslogtreecommitdiffstats
path: root/syntax/log.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-08-23 17:26:30 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-08-23 17:26:30 +0200
commitbc3b36088e468a50d0cc515544b8138e622c27b3 (patch)
treeb2823c472e2a2d5e7d049591881efb29df164d86 /syntax/log.vim
parent5d0150e326cf29936c832eb3b7ca846299f597b6 (diff)
downloadvim-polyglot-bc3b36088e468a50d0cc515544b8138e622c27b3.tar.gz
vim-polyglot-bc3b36088e468a50d0cc515544b8138e622c27b3.zip
Update
Diffstat (limited to 'syntax/log.vim')
-rw-r--r--syntax/log.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/syntax/log.vim b/syntax/log.vim
index 40abeb34..1fe7051e 100644
--- a/syntax/log.vim
+++ b/syntax/log.vim
@@ -3,7 +3,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'log') == -1
" Vim syntax file
" Language: Generic log file
" Maintainer: MTDL9 <https://github.com/MTDL9>
-" Latest Revision: 2019-11-24
+" Latest Revision: 2020-08-23
if exists('b:current_syntax')
finish
@@ -15,7 +15,7 @@ set cpoptions&vim
" Operators
"---------------------------------------------------------------------------
-syn match logOperator display '[;,\?\:\.\<=\>\~\/\@\&\!$\%\&\+\-\|\^(){}\*#]'
+syn match logOperator display '[;,\?\:\.\<=\>\~\/\@\!$\%&\+\-\|\^(){}\*#]'
syn match logBrackets display '[\[\]]'
syn match logEmptyLines display '-\{3,}'
syn match logEmptyLines display '\*\{3,}'
@@ -87,7 +87,7 @@ syn match logXmlAttribute contained "\(\n\|\s\)\(\(\w\|-\)\+:\)\?\(\w\|-\)\+\
syn match logXmlNamespace contained "\(\w\|-\)\+:" contains=logOperator
syn region logXmlComment start=/<!--/ end=/-->/
syn match logXmlCData /<!\[CDATA\[.*\]\]>/
-syn match logXmlEntity /\&\w\+;/
+syn match logXmlEntity /&#\?\w\+;/
" Levels