From e880f223f0259988e8fe30b2087abe908d99e1ed Mon Sep 17 00:00:00 2001 From: MTDL9 <40929090+MTDL9@users.noreply.github.com> Date: Sun, 24 Nov 2019 08:43:05 +0100 Subject: [PATCH] Fix wrong slash for word delimiter on logTimeZone matcher --- syntax/log.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syntax/log.vim b/syntax/log.vim index 3448ba5..8934ef7 100644 --- a/syntax/log.vim +++ b/syntax/log.vim @@ -50,8 +50,8 @@ syn match logDate '\(\(Mon\|Tue\|Wed\|Thu\|Fri\|Sat\|Sun\) \)\?\(Jan\|Feb\|Mar\| syn match logTime '\d\{2}:\d\{2}:\d\{2}\(\.\d\{2,6}\)\?\(\s\?[-+]\d\{2,4}\|Z\)\?\>' nextgroup=logTimeZone,logSysColumns skipwhite " Follows logTime, matches UTC or PDT 2019 or 2019 EDT -syn match logTimeZone '[A-Z]\{2,5}/>\( \d\{4}\)\?' contained -syn match logTimeZone '\d\{4} [A-Z]\{2,5}/>' contained +syn match logTimeZone '[A-Z]\{2,5}\>\( \d\{4}\)\?' contained +syn match logTimeZone '\d\{4} [A-Z]\{2,5}\>' contained " Entities