summaryrefslogtreecommitdiffstats
path: root/syntax/messages.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/messages.vim')
-rw-r--r--syntax/messages.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/syntax/messages.vim b/syntax/messages.vim
index a66dbe63..3219b67d 100644
--- a/syntax/messages.vim
+++ b/syntax/messages.vim
@@ -8,6 +8,7 @@ endif
" Latest Revision: 2008-06-29
" Changes: 2008-06-29 support for RFC3339 tuimestamps James Vega
" 2016 Jan 19: messagesDate changed by Bram
+" 2021 Jan 27: messagesHourRFC3339 changed from #946
if exists("b:current_syntax")
finish
@@ -30,7 +31,7 @@ syn match messagesDateRFC3339 contained display '\d\{4}-\d\d-\d\d'
syn match messagesRFC3339T contained display '\cT'
\ nextgroup=messagesHourRFC3339
-syn match messagesHourRFC3339 contained display '\c\d\d:\d\d:\d\d\(\.\d\+\)\=\([+-]\d\d:\d\d\|Z\)'
+syn match messagesHourRFC3339 contained display '\c\d\d:\d\d:\d\d\(\.\d\+\)\=\([+-]\d\d:\d\d\|Z\)\s*'
\ nextgroup=messagesHost
syn match messagesHost contained display '\S*\s*'