On 10/31/06, Mike Hansen <[EMAIL PROTECTED]> wrote:
I'm confused about omni-complete for Python.

How should it work?

Let's say that I type in the following on a .py file.

import cgi

form = cgi.

At the . in insert mode I type Ctrl-X Ctrl-O.

A bunch of errors pop up and the omni-complete fails.

"Error detected while processing function pythoncomplete#Complete:

Traceback (most recent call last):
File "<string>", line 1, in ?
NameError: name 'vimcomplete' is not defined
E121: Undefined variable: g:pythoncomplete_completions
E15: Invalid expression: g:pythoncomplet_completions
Omni completion ...pattern not found.

Do you get an error about pythoncomplete requiring python?  What is
the output of :version in vim?

Reply via email to