Adjust rubocop error levels

Consider rubocop fatal errors as ALE errors, and rubocop style warnings
as ALE warnings.
This commit is contained in:
Gabriel Holodak 2017-02-12 06:15:43 -05:00 committed by w0rp
parent a1be697a02
commit b9c078da20

View File

@ -25,7 +25,7 @@ function! ale_linters#ruby#rubocop#Handle(buffer, lines) abort
\ 'lnum': l:match[1] + 0,
\ 'col': l:match[2] + 0,
\ 'text': l:text,
\ 'type': index(['C', 'E'], l:type) != -1 ? 'E' : 'W',
\ 'type': index(['F', 'E'], l:type) != -1 ? 'E' : 'W',
\})
endfor