ivanov / vim-ipython

A two-way integration between Vim and IPython 0.11+
http://github.com/ivanov/vim-ipython
1.04k stars 163 forks source link

Fix omnicomplete for import statements #26

Closed nonameentername closed 12 years ago

nonameentername commented 12 years ago

I updated omnicomplete to use the correct line. Completion was ignoring the current token that is being completed on.

from dj

would use for the line:

from

instead of

from dj

ivanov commented 12 years ago

thanks for the fix! I verified that the old code did not provide any completions for "import numpy." for example, but with your patch that now works. Merging