You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							21 lines
						
					
					
						
							638 B
						
					
					
				
			
		
		
	
	
							21 lines
						
					
					
						
							638 B
						
					
					
				" syntax/stdgather.vim
 | 
						|
 | 
						|
" Clear previous syntax
 | 
						|
syntax clear
 | 
						|
 | 
						|
" Match and highlight time format HH:MM:SS.microseconds in light blue
 | 
						|
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
 | 
						|
 | 
						|
" Match and highlight ' (E) ' in red
 | 
						|
syntax match LogError /\v\s\(E\)\s/
 | 
						|
highlight LogError ctermfg=Red guifg=Red
 | 
						|
 | 
						|
" Match the first line if it starts with Cmd: ' and ends with a single quote
 | 
						|
syntax match LogCmdLine /\%1l^Cmd: '.*'$/
 | 
						|
highlight LogCmdLine ctermfg=LightGrey guifg=DarkGrey
 |