prompt-toolkit / pyvim

Pure Python Vim clone.
BSD 3-Clause "New" or "Revised" License
2.52k stars 163 forks source link

No Jedi completion #9

Open andmalc opened 9 years ago

andmalc commented 9 years ago

Not getting Jedi completion in Python source files. Tried enabling it with ':set jedi' at the Vim command prompt and also using the example file. Installed pyvim in a virtualenv under Python 2.7.9 on Debian. The jedi module did get installed by pip and imports OK in a Python prompt.

All else works great. Must be doing something wrong ...

sjzabel commented 9 years ago

I am having the same issue in Py 2.7.9 on OSX, with and up to date jedi in a virtualenv.

dotmobo commented 9 years ago

Same issue in python 3.4 on Arch Linux.

lunemec commented 9 years ago

I'm using elementaryOS (ubuntu 14.10) and py 2.7.6 and works OK. Maybe some incompatibility for versions py > 2.7.6?

Shougo commented 9 years ago

I think ... Python3 and virtualenv environments have the problem in total.

lillian27 commented 9 years ago

Installed via pip in a clean virtualenv on OS X 10.10.3 with Python 2.7.6. Does not work as expected (and by that I mean like it does in ptpython) so I'm not sure it is a > Python 2.7.6 issue.

Minimal jedi behavior can be forced: just type a string and hit tab. You should get a dropdown with all the builtins that start with that substring. However, tab-forcing does not seem to work for imports, function names, parameter lists, etc.