From 31d4343d7c78a7f5f67235732c6673fa8fd6593e Mon Sep 17 00:00:00 2001 From: Prashanth Chandra Date: Sun, 2 Oct 2016 17:26:42 +0800 Subject: [PATCH] Fix qflist output for coffeelint --- ale_linters/coffee/coffeelint.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ale_linters/coffee/coffeelint.vim b/ale_linters/coffee/coffeelint.vim index 4a1d732..4083c24 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, {