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. Shouldn't I get a list of attributes and methods from the cgi module? I have filetype plugin on in my vimrc. Is there any other setup I need to do to get it working? I downloaded the newer pythoncomplete.vim and installed it in the autoload directory. http://www.vim.org/scripts/script.php?script_id=1542 Any ideas? Thanks, Mike
