Fix qflist output for coffeelint
This commit is contained in:
parent
b36d3eb635
commit
31d4343d7c
@ -25,8 +25,8 @@ function! ale_linters#coffee#coffeelint#Handle(buffer, lines)
|
|||||||
|
|
||||||
let line = l:match[1] + 0
|
let line = l:match[1] + 0
|
||||||
let column = 1
|
let column = 1
|
||||||
let type = l:match[3] ==# 'error' ? 'error' : 'warn'
|
let type = l:match[3] ==# 'error' ? 'E' : 'W'
|
||||||
let text = type . ': ' . l:match[4]
|
let text = l:match[3] . ': ' . l:match[4]
|
||||||
|
|
||||||
" vcol is needed to indicate that the column is a character
|
" vcol is needed to indicate that the column is a character
|
||||||
call add(output, {
|
call add(output, {
|
||||||
|
Loading…
Reference in New Issue
Block a user