Getting Omni to work on vim 7.2 on windows

I try to use the Omni complete function with gVim 7.2, but in windows I get an error all the time

Error: requires vim compiled with + python
E117: unknown function: pythoncomplete # complete

it looks like it could be because gvim 7.2 is compiled with 2.4 and I have 2.5 installed. I downloaded 2.5 compiled binaries from here , but still not happy.

The python that I have on my machine was installed as part of Cygwin (I have python.exe and python2.5.exe in c: \ cygwin \ bin). I tried to copy these two files to the C: \ python25 directory if that was the path specified during recompilation.

Anyway, to shut down without having to recompile gvim?

+3
source share
1 answer

Cygwin Python will not work. Just install Windows Python from http://python.org .

I had the same problem, but with the plugin - pyflakes. I solved this by installing Python 2.6 for ALL USERS and using the gvim.exe binary downloaded from here:

http://www.gooli.org/blog/gvim-72-with-python-2526-support-windows-binaries/

+1
source

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


All Articles