summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorMarius Gedminas <marius@gedmin.as>2018-11-22 11:57:02 +0200
committerMarius Gedminas <marius@gedmin.as>2018-11-22 11:57:02 +0200
commit9481f307fb27a383e577c4107e3b97c1ea6dd5a0 (patch)
tree1146a657c453ee95838ca4b818bd2d83c1cb6d7b /ale_linters
parentff0bd14efe8ba55594afe5175f562254d5268689 (diff)
downloadale-9481f307fb27a383e577c4107e3b97c1ea6dd5a0.zip
flake8 reports visual columns
Fixes #2092.
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/python/flake8.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ale_linters/python/flake8.vim b/ale_linters/python/flake8.vim
index 9dcdacc6..14b67d77 100644
--- a/ale_linters/python/flake8.vim
+++ b/ale_linters/python/flake8.vim
@@ -110,6 +110,7 @@ function! ale_linters#python#flake8#Handle(buffer, lines) abort
let l:item = {
\ 'lnum': l:match[1] + 0,
\ 'col': l:match[2] + 0,
+ \ 'vcol': 1,
\ 'text': l:match[4],
\ 'code': l:code,
\ 'type': 'W',