18

I have the syntastic and python-mode plugins installed and they both include syntax checkers. I think the python-mode syntax checker is more versitle for python files so I would like to just use that one (instead of both).

How do I disable syntastic just for python files?

1 Answer 1

19

The Syntastic documentation (:help syntastic-pymode) explains what to do:

[...] To avoid both plugins opening error windows, you can either set passive mode for python in syntastic (see syntastic_mode_map), or disable lint checks in "python-mode", [...]

So you should be able to disable automatic syntax checking for Python files with something like the following in your $MYVIMRC file:

let g:syntastic_mode_map = { 'passive_filetypes': ['python'] }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.