Mercurial > dotfiles
comparison .chezmoitemplates/config.vim @ 684:0bea9fd463b5
feat: tweak coloring of reports and logfiles
author | zegervdv <zegervdv@me.com> |
---|---|
date | Mon, 03 Oct 2022 05:58:53 +0000 |
parents | c5ed13440614 |
children | 6e98364a5a28 |
comparison
equal
deleted
inserted
replaced
683:0b30faf23a07 | 684:0bea9fd463b5 |
---|---|
111 augroup END | 111 augroup END |
112 | 112 |
113 function! ColorRpt() | 113 function! ColorRpt() |
114 " Color numbers based on length | 114 " Color numbers based on length |
115 syn match String "\v<\d{1,3}>" | 115 syn match String "\v<\d{1,3}>" |
116 syn match Number "\v<\d{4,6}>" | 116 syn match Statement "\v<\d{4,6}>" |
117 syn match Statement "\v<\d{7,9}>" | 117 syn match Function "\v<\d{7,9}>" |
118 | 118 |
119 syn match Number "\v0+" | |
119 " Color errors | 120 " Color errors |
120 syn match Error "\v^ERROR:.*$" | 121 syn match Error "\v^ERROR:.*$" |
121 endfunction | 122 endfunction |
122 " | 123 " |
123 | 124 |