summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ale_linters/python/flake8.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/python/flake8.vim b/ale_linters/python/flake8.vim
index ba754fef..437bc01d 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