summaryrefslogtreecommitdiff
path: root/ale_linters/ruby/rubocop.vim
diff options
context:
space:
mode:
authorGabriel Holodak <gthepiper@gmail.com>2017-02-12 06:15:43 -0500
committerw0rp <devw0rp@gmail.com>2017-03-27 19:46:02 +0100
commitb9c078da2030c0bc756a6caa7c87703b7b46ac11 (patch)
treeea22d1824bdf40402de820fea0c927ff14134d5d /ale_linters/ruby/rubocop.vim
parenta1be697a028eada1af023c48d326456e4afdf104 (diff)
downloadale-b9c078da2030c0bc756a6caa7c87703b7b46ac11.zip
Adjust rubocop error levels
Consider rubocop fatal errors as ALE errors, and rubocop style warnings as ALE warnings.
Diffstat (limited to 'ale_linters/ruby/rubocop.vim')
-rw-r--r--ale_linters/ruby/rubocop.vim2
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