Skip to content

Commit e880f22

Browse files
committed
Fix wrong slash for word delimiter on logTimeZone matcher
1 parent da332bf commit e880f22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntax/log.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ syn match logDate '\(\(Mon\|Tue\|Wed\|Thu\|Fri\|Sat\|Sun\) \)\?\(Jan\|Feb\|Mar\|
5050
syn match logTime '\d\{2}:\d\{2}:\d\{2}\(\.\d\{2,6}\)\?\(\s\?[-+]\d\{2,4}\|Z\)\?\>' nextgroup=logTimeZone,logSysColumns skipwhite
5151

5252
" Follows logTime, matches UTC or PDT 2019 or 2019 EDT
53-
syn match logTimeZone '[A-Z]\{2,5}/>\( \d\{4}\)\?' contained
54-
syn match logTimeZone '\d\{4} [A-Z]\{2,5}/>' contained
53+
syn match logTimeZone '[A-Z]\{2,5}\>\( \d\{4}\)\?' contained
54+
syn match logTimeZone '\d\{4} [A-Z]\{2,5}\>' contained
5555

5656

5757
" Entities

0 commit comments

Comments
 (0)