开发者

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜