runtime(log): remove domain highlight
Commit:
https://github.com/vim/vim/commit/0a8b4ef8b291e5d37b95680e313fb13d089375fa
Author: Mao-Yining <[email protected]>
Date: Fri Oct 3 07:58:06 2025 +0000
runtime(log): remove domain highlight
The domain highlight is eazy to be confused and useless. Because we can
catch URL as a much obvious syntax.
closes: #18467
Signed-off-by: Mao-Yining <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/syntax/log.vim b/runtime/syntax/log.vim
index d4a1a4018..f1d70cfc3 100644
--- a/runtime/syntax/log.vim
+++ b/runtime/syntax/log.vim
@@ -2,7 +2,7 @@
" Language: Generic log file
" Maintainer: Mao-Yining <https://github.com/mao-yining>
" Former Maintainer: MTDL9 <https://github.com/MTDL9>
-" Latest Revision: 2025-09-16
+" Latest Revision: 2025-10-03
if exists('b:current_syntax')
finish
@@ -59,7 +59,6 @@ syn match logDuration
'\(^\|\s\)\@<=\d\+\s*[mn]\?[ywdhms]\(\s\|$\)\@='
" Entities
"---------------------------------------------------------------------------
syn match logUrl 'http[s]\?:\/\/\S\+'
-syn match logDomain
'\(^\|\W\)\@<=[[:alnum:]-]\+\(\.[[:alnum:]-]\+\)\+\(\W\|$\)\@='
syn match logUUID '\w\{8}-\w\{4}-\w\{4}-\w\{4}-\w\{12}'
syn match logMD5 '\<[a-z0-9]\{32}\>'
syn match logIPV4 '\<\d\{1,3}\(\.\d\{1,3}\)\{3}\>'
@@ -124,7 +123,6 @@ hi def link logTimeZone Identifier
hi def link logDuration Identifier
hi def link logUrl Underlined
-hi def link logDomain Label
hi def link logUUID Label
hi def link logMD5 Label
hi def link logIPV4 Label
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1v4ahz-008vDc-Ie%40256bit.org.