Options Dump When Using vim-ruby On Ruby

Doug Kearns dougkearns at gmail.com
Tue Jan 6 19:49:49 EST 2009


On 1/7/09, Tom E Purl <tep2 at ntrs.com> wrote:
>
>
> I'm receiving a lot of strange errors when I try to use vim-ruby on Windows.
>  Any help that anyone can give me would be greatly appreciated.
>
> Every time I start up vim or gvim, I get the following error:
>
>
> Error detected while processing E:\apps\vim\_vimrc:
> line 243:
> E492: Not an editor command: omnifunc=rubycomplete#Complete
> E486: Pattern not found: rubycomplete_buffer_loading = 1
> E486: Pattern not found: rubycomplete_classes_in_global = 1
<snip>

> Here's the pertinent lines in my _vimrc file:
>
> " Ruby goodies
> autocmd FileType ruby,eruby set
> omnifunc=rubycomplete#Complete

set omnifunc=rubycomplete#Complete

> autocmd FileType ruby,eruby let
> g:rubycomplete_buffer_loading = 1

let g:rubycomplete_buffer_loading = 1

> autocmd FileType ruby,eruby let
> g:rubycomplete_classes_in_global = 1

let g:rubycomplete_classes_in_global = 1

<snip>

Regards,
Doug


More information about the vim-ruby-devel mailing list