Merge pull request #22 from prashcr/master

Fix qflist output for coffeelint
This commit is contained in:
w0rp 2016-10-02 16:16:12 +02:00 committed by GitHub
commit 21e91d7572

View File

@ -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, {