mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Fix #175 - Fix the error types for rubocop
This commit is contained in:
@@ -26,7 +26,7 @@ function! ale_linters#ruby#rubocop#Handle(buffer, lines)
|
||||
\ 'vcol': 0,
|
||||
\ 'col': l:match[2] + 0,
|
||||
\ 'text': l:text,
|
||||
\ 'type': l:type ==# 'C' ? 'E' : 'W',
|
||||
\ 'type': index(['C', 'E'], l:type) != -1 ? 'E' : 'W',
|
||||
\ 'nr': -1,
|
||||
\})
|
||||
endfor
|
||||
|
||||
Reference in New Issue
Block a user