diff options
author | Gabriel Holodak <gthepiper@gmail.com> | 2017-02-12 06:15:43 -0500 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-03-27 19:46:02 +0100 |
commit | b9c078da2030c0bc756a6caa7c87703b7b46ac11 (patch) | |
tree | ea22d1824bdf40402de820fea0c927ff14134d5d | |
parent | a1be697a028eada1af023c48d326456e4afdf104 (diff) | |
download | ale-b9c078da2030c0bc756a6caa7c87703b7b46ac11.zip |
Adjust rubocop error levels
Consider rubocop fatal errors as ALE errors, and rubocop style warnings
as ALE warnings.
-rw-r--r-- | ale_linters/ruby/rubocop.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/ruby/rubocop.vim b/ale_linters/ruby/rubocop.vim index 7f6985de..bb674eff 100644 --- a/ale_linters/ruby/rubocop.vim +++ b/ale_linters/ruby/rubocop.vim @@ -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 |