From 572c877a694a6e7c94bd2a252aafb9b67c568914 Mon Sep 17 00:00:00 2001 From: Bjorn Neergaard Date: Tue, 11 Oct 2016 09:42:50 -0500 Subject: [PATCH] Default handlers to warning --- ale_linters/verilog/iverilog.vim | 2 +- ale_linters/yaml/yamllint.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ale_linters/verilog/iverilog.vim b/ale_linters/verilog/iverilog.vim index 373c6731..7b0a4b38 100644 --- a/ale_linters/verilog/iverilog.vim +++ b/ale_linters/verilog/iverilog.vim @@ -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, { diff --git a/ale_linters/yaml/yamllint.vim b/ale_linters/yaml/yamllint.vim index 4b0c8def..694d5115 100644 --- a/ale_linters/yaml/yamllint.vim +++ b/ale_linters/yaml/yamllint.vim @@ -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