We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems that the hostname is considered as a tag name.
By checking the file runtime/syntax/messages.vim, I found it is easy to fix.
diff --git a/runtime/syntax/messages.vim b/runtime/syntax/messages.vim index c22e4e8..59425fc 100644 --- a/runtime/syntax/messages.vim +++ b/runtime/syntax/messages.vim @@ -26,7 +26,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*'
The text was updated successfully, but these errors were encountered:
please contact the syntax script maintainer and discuss the issue with him. Thanks.
Sorry, something went wrong.
vim/runtime/doc/todo.txt
Lines 1486 to 1487 in 21829c5
It's been more than 4 years; I think the maintainer did not reply.
As suggested by the OP, this patch fixes the issue:
diff --git a/runtime/syntax/messages.vim b/runtime/syntax/messages.vim index c22e4e8d0..59425fca5 100644 --- a/runtime/syntax/messages.vim +++ b/runtime/syntax/messages.vim @@ -26,7 +26,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*'
I'll include that change.
No branches or pull requests
It seems that the hostname is considered as a tag name.
By checking the file runtime/syntax/messages.vim, I found it is easy to fix.
The text was updated successfully, but these errors were encountered: