From 51ece965544e3f6c9bd0b86a21166233f9382ae6 Mon Sep 17 00:00:00 2001 From: itycodes Date: Mon, 13 Oct 2025 07:58:38 +0200 Subject: [PATCH] Fix the names of Vim highlight groups, add support for kernel order --- vim/stdgather.vim | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/vim/stdgather.vim b/vim/stdgather.vim index 8414b67..2eab4bc 100644 --- a/vim/stdgather.vim +++ b/vim/stdgather.vim @@ -8,12 +8,16 @@ syntax match LogTime /\v\d{2}:\d{2}:\d{2}\.\d{6}/ highlight LogTime ctermfg=LightBlue guifg=LightBlue " Match and highlight ' (O) ' in green -syntax match LogOK /\v\s\(O\)\s/ -highlight LogOK ctermfg=Green guifg=Green +syntax match LogOut /\v\s\(O\)\s/ +highlight LogOut ctermfg=Green guifg=Green " Match and highlight ' (E) ' in red -syntax match LogError /\v\s\(E\)\s/ -highlight LogError ctermfg=Red guifg=Red +syntax match LogErr /\v\s\(E\)\s/ +highlight LogErr ctermfg=Red guifg=Red + +" Match and highlight ' (?) ' in blue +syntax match LogKernel /\v\s\(\?\)\s/ +highlight LogKernel ctermfg=Blue guifg=Blue " Match the first line if it starts with Cmd: ' and ends with a single quote syntax match LogCmdLine /\%1l^Cmd: '.*'$/