Recompile Vim for pythoncomplete#Complete on modules *other* than standard library?
I like using pythoncomplete#Complete
for Vim omnicompletion
, but it doesn't work for Python modules other than the standard library.
Is there a way to re-compile Vim so that this will work on non-standard library modules?
I have trie开发者_如何学God pysmell
, et. al., but they just don't work as well as pythoncomplete#Complete
. This is for a Windows machine.
Have you tried setting PYTHONPATH prior to starting Vim?
You can also modify the path from inside Vim, by doing:
:python import sys
:python print sys.path
:python sys.path.append(...)
... etc
精彩评论