nvie / vim-flake8

Flake8 plugin for Vim
BSD 2-Clause "Simplified" License
1.06k stars 99 forks source link

Quickfix window displayed when no errors #68

Closed arugifa closed 3 years ago

arugifa commented 6 years ago

I have this problem since a while now, and never succeeded to solve it on both my macOS at work or my Linux workstation at home.

When I run VIM-Flake8 on a Python file containing no error, the quickfix window is still open and displays a strange message: || 0

As a screenshot is worth thousands words: https://drive.google.com/open?id=1GiAGqLRWjPr4UvBGzs2y1HTlb4zled4y

Here is my configuration:

let g:flake8_show_in_gutter=1
let g:flake8_show_in_file=1
let g:flake8_show_quickfix=1
autocmd BufWritePost *.py call Flake8()

Does anyone else have the same problem? Is it a bug, or a feature? 😉

arugifa commented 6 years ago

As this project is not maintained anymore, I forked it and fixed my problem like that: https://github.com/arugifa/vim-flake8/commit/b6f250a1abdcd24bd20340d735144f09785f88c8

Hope it will help other people having the same issue 😃