aboutsummaryrefslogtreecommitdiff
path: root/after/syntax/log.vim
blob: 99b677f09f22d97d79a172136ca1743d8bdf86eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24


hi link Info NonText
hi link Pass DiffAdd

syn match ERROR   /TEST-UNEXPECTED-FAIL/
syn match NonText /^\[[^\]]*\]/

syn match NonText  /^ *\d\{1,2\}:\d\{1,2\}[.:]\d\{1,2\}[:0-9]*/
syn match ErrorMsg / ERROR /
syn match ErrorMsg / FAIL /
syn match Error    / WARNING /
syn match Info     / INFO / fold
syn match Pass     / PASS / fold


silent! lvimgrep /\(ERROR\|WARNING\|FAIL\)/ %
lopen 12



" setlocal foldexpr=getline(v:lnum)=~'INFO'
" setlocal foldmethod=expr
" setlocal foldenable
..