Default handlers to warning

This commit is contained in:
Bjorn Neergaard 2016-10-11 09:42:50 -05:00
parent c290e2cd60
commit 572c877a69
No known key found for this signature in database
GPG key ID: D8F4DB0CE841305D
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ function! ale_linters#verilog#iverilog#Handle(buffer, lines)
endif
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]
call add(l:output, {

View file

@ -32,7 +32,7 @@ function! ale_linters#yaml#yamllint#Handle(buffer, lines)
\ 'vcol': 0,
\ 'col': l:col,
\ 'text': l:text,
\ 'type': l:type ==# 'warning' ? 'W' : 'E',
\ 'type': l:type ==# 'error' ? 'E' : 'W',
\ 'nr': -1,
\})
endfor