diff options
author | Prashanth Chandra <coolshanth94@gmail.com> | 2016-10-02 17:26:42 +0800 |
---|---|---|
committer | Prashanth Chandra <coolshanth94@gmail.com> | 2016-10-02 17:26:42 +0800 |
commit | 31d4343d7c78a7f5f67235732c6673fa8fd6593e (patch) | |
tree | 6cffdf2c9666be26dc18f3c52302eec8a6622441 | |
parent | b36d3eb6355591858e6b456c6e38233eb0de604e (diff) | |
download | ale-31d4343d7c78a7f5f67235732c6673fa8fd6593e.zip |
Fix qflist output for coffeelint
-rw-r--r-- | ale_linters/coffee/coffeelint.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/coffee/coffeelint.vim b/ale_linters/coffee/coffeelint.vim index 4a1d7320..4083c246 100644 --- a/ale_linters/coffee/coffeelint.vim +++ b/ale_linters/coffee/coffeelint.vim @@ -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, { |