Recompile Vim for pythoncomplete # Fill in the modules * other * than the standard library?

I like to use pythoncomplete#Completefor Vim omnicompletion , but it does not work for Python modules other than the standard library.

Is there a way to recompile Vim so that it works on non-standard library modules?

I tried pysmell, et. al., but they just don't work the same way pythoncomplete#Complete. This is for a windows machine.

+3
source share
1 answer

Have you tried installing PYTHONPATH before starting Vim?

You can also change the path from within Vim by doing:

:python import sys
:python print sys.path
:python sys.path.append(...)
... etc
+1
source

Source: https://habr.com/ru/post/1727099/


All Articles