diff options
-rw-r--r-- | ale_linters/verilog/iverilog.vim | 2 | ||||
-rw-r--r-- | 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 |