On 4/12/06, ara.t.howard / noaa.gov <ara.t.howard / noaa.gov> wrote:
> On Thu, 13 Apr 2006, Andrew Thompson wrote:
>
> > Mark Volkmann wrote:
> >> Where are we supposed to put the rbcomplete.vim file?
> >
> > I put mine in ~/.vim/autoload and it seems to load OK.
>
> i get an error about no 'omnifunc' attribute.  which vim are you running?

It's working for me now.  Here's what I did to get it to work under Windows.

- download gvim70d.exe from ftp://ftp.vim.org/pub/vim/unstable/pc
- double-click the .exe file
- add the following to _vimrc
    autocmd FileType ruby,eruby
    set omnifunc=rbcomplete#Complete
- from a command prompt, run "gem install vim-ruby
- download rbcomplete.vim from
http://blog.hasno.info/blog/segfault/dev/2006/04/10/vim-7-ruby-omni-completion.html
  into $VIM_HOME\autoload

--
R. Mark Volkmann
Object Computing, Inc.