summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorBjorn Neergaard <bjorn@neersighted.com>2016-10-11 09:42:50 -0500
committerBjorn Neergaard <bjorn@neersighted.com>2016-10-11 09:42:50 -0500
commit572c877a694a6e7c94bd2a252aafb9b67c568914 (patch)
tree6242bc067ef51d8290c202d3f522fa0eacf7928e /ale_linters
parentc290e2cd602a20f71880ea1d210797fad2db8000 (diff)
downloadale-572c877a694a6e7c94bd2a252aafb9b67c568914.zip
Default handlers to warning
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/verilog/iverilog.vim2
-rw-r--r--ale_linters/yaml/yamllint.vim2
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