From d3047c9cf643cb80418b394c6cf16bc9dcec916d Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 15 Sep 2016 13:08:35 +0100 Subject: [PATCH] Output error codes in the error text too for flake8. --- ale_linters/python/flake8.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ale_linters/python/flake8.vim b/ale_linters/python/flake8.vim index ba754fe..437bc01 100644 --- a/ale_linters/python/flake8.vim +++ b/ale_linters/python/flake8.vim @@ -21,7 +21,7 @@ function! ale_linters#python#flake8#Handle(buffer, lines) let line = l:match[1] + 0 let column = l:match[2] + 0 let code = l:match[3] - let text = l:match[4] + let text = code . ': ' . l:match[4] let type = code[0] ==# 'E' ? 'E' : 'W' if code ==# 'W291' && !g:ale_warn_about_trailing_whitespace