diff options
author | w0rp <w0rp@users.noreply.github.com> | 2016-10-02 16:16:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-02 16:16:12 +0200 |
commit | 21e91d7572bc42145a213dbd6ba5a7d620fef410 (patch) | |
tree | 6cffdf2c9666be26dc18f3c52302eec8a6622441 /ale_linters | |
parent | b36d3eb6355591858e6b456c6e38233eb0de604e (diff) | |
parent | 31d4343d7c78a7f5f67235732c6673fa8fd6593e (diff) | |
download | ale-21e91d7572bc42145a213dbd6ba5a7d620fef410.zip |
Merge pull request #22 from prashcr/master
Fix qflist output for coffeelint
Diffstat (limited to 'ale_linters')
-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, { |