Merge pull request #22 from prashcr/master
Fix qflist output for coffeelint
This commit is contained in:
commit
21e91d7572
@ -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