On 5 March 2015, Joseph Tosey <
jos...@warewolf.ca> wrote:
> I'm using mvim with vim-syntastic loaded as:
>
> .vim/bundle/syntastic
>
> I'm trying to use 4 spaces, but even though my tabstop is set to 4
> spaces and my code has 4 spaces, I get E311 errors for every line. I
> also get E301 errors, which I would like to disable. I tried creating
> a ~/.config/pep8 config file, but syntastic appears to ignore that.
What did you do, what did you expect to happen, and what happened
instead? What version of syntastic are you running? What options
relevant to syntastic do you have in your vimrc?
> I can see flake8, pyflakes and pylint are installed, but I'm not clear
> on which one it is actually using.
You can see the checkers syntastic will run with ":SyntasticInfo".
After running the checks, you can see which checker(s) has produced
the errors syntastic is showing you by looking at the status line of the
error window (assuming no other plugin did mess with w:quickfix_title).
> Is there a doc that describes how these pieces fit together?
Where exactly did you look?
- syntastic manual: ":help syntastic"
- checker-specific options:
https://github.com/scrooloose/syntastic/wiki/Syntax-Checkers
- syntastic FAQ:
https://github.com/scrooloose/syntastic
> Any tips on how to configure mvim / syntastic so that it properly
> handles 4-space indentation and suppress E311 errors?
/lcd