carlhuda/janus — Issue #306: Disabling pep8 plugin does not work (in experimental)
Author: charlax
Created: 2011-12-02 05:16:00+00:00
State: open

Hi,

I have this in my .vimrc.before:

call janus#disable_plugin('pep8')

Yet it does not prevent pathogen from loading pep8:

Searching for "/Users/ca/.vim/janus/vim/tools/pep8/ftplugin/python.vim"
Searching for "/Users/ca/.vim/janus/vim/tools/pep8/ftplugin/python_*.vim"
Searching for "/Users/ca/.vim/janus/vim/tools/pep8/ftplugin/python/*.vim"
line 17: sourcing "/Users/ca/.vim/janus/vim/tools/pep8/ftplugin/python/pep8.vim"
Error detected while processing /Users/ca/.vim/janus/vim/tools/pep8/ftplugin/python/pep8.vim:
line 112:
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named os
line 114:
E121: Undefined variable: s:pep8_found
E15: Invalid expression: !s:pep8_found
line 144:
Traceback (most recent call last):
File "", line 2, in
NameError: name 'os' is not defined
finished sourcing /Users/ca/.vim/janus/vim/tools/pep8/ftplugin/python/pep8.vim