Today someone on my work's vim mailing list had downloaded vim7, and was
trying to get omni-completion to work.

I was going to reply with help until I realized that I myself had never
gotten omni-completion to work.  I tried a few times with the betas, but
could never figure out what I was supposed to do to make it work.

The documentation says that omnifunc will be set by the filetype plugins,
but this doesn't seem to be happening.  I've done

   ... unpack vim70
   % cd vim70/src
   % ./configure --prefix=/usr/local/vim70
   % make
   % make install
   % exuberant-ctags -R .
   % /usr/local/vim70/bin/gvim -u NONE -U NONE ui.c

Move down a bit, and insert:

   gui.

and press ^X^O:

  E764: Option 'omnifunc' is not set.

I can't find anything in the manual that indicates how I would set this.

Dave

Reply via email to