Default handlers to warning
This commit is contained in:
		
							parent
							
								
									c290e2cd60
								
							
						
					
					
						commit
						572c877a69
					
				| @ -25,7 +25,7 @@ function! ale_linters#verilog#iverilog#Handle(buffer, lines) | |||||||
|         endif |         endif | ||||||
| 
 | 
 | ||||||
|         let l:line = l:match[1] + 0 |         let l:line = l:match[1] + 0 | ||||||
|         let l:type = l:match[2] ==# 'warning' ? 'W' : 'E' |         let l:type = l:match[2] ==# 'error' ? 'E' : 'W' | ||||||
|         let l:text = l:match[2] ==# 'syntax error' ? 'syntax error' : l:match[4] |         let l:text = l:match[2] ==# 'syntax error' ? 'syntax error' : l:match[4] | ||||||
| 
 | 
 | ||||||
|         call add(l:output, { |         call add(l:output, { | ||||||
|  | |||||||
| @ -32,7 +32,7 @@ function! ale_linters#yaml#yamllint#Handle(buffer, lines) | |||||||
|         \   'vcol': 0, |         \   'vcol': 0, | ||||||
|         \   'col': l:col, |         \   'col': l:col, | ||||||
|         \   'text': l:text, |         \   'text': l:text, | ||||||
|         \   'type': l:type ==# 'warning' ? 'W' : 'E', |         \   'type': l:type ==# 'error' ? 'E' : 'W', | ||||||
|         \   'nr': -1, |         \   'nr': -1, | ||||||
|         \}) |         \}) | ||||||
|     endfor |     endfor | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Bjorn Neergaard
						Bjorn Neergaard