Fix qflist output for coffeelint

This commit is contained in:
Prashanth Chandra 2016-10-02 17:26:42 +08:00
parent b36d3eb635
commit 31d4343d7c
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@ function! ale_linters#coffee#coffeelint#Handle(buffer, lines)
let line = l:match[1] + 0
let column = 1
let type = l:match[3] ==# 'error' ? 'error' : 'warn'
let text = type . ': ' . l:match[4]
let type = l:match[3] ==# 'error' ? 'E' : 'W'
let text = l:match[3] . ': ' . l:match[4]
" vcol is needed to indicate that the column is a character
call add(output, {