Ruby + Vim + REPL

Hi list,

just wrote up a simple ruby repl completion pased on irb or require
‘debug’.
It looks like this:
http://mawercer.de/~marc/ruby-completion.jpg

Everything is work in progress.

Let me know if you’re interested in using it and you have trouble.

Marc W.

On Tue, Nov 16, 2010 at 8:52 AM, Marc W. [email protected] wrote:

Hi list,

just wrote up a simple ruby repl completion pased on irb or require ‘debug’.
It looks like this:
http://mawercer.de/~marc/ruby-completion.jpg

Everything is work in progress.

Let me know if you’re interested in using it and you have trouble.

I would love to have the code to this. Please?

Thanks,
Andrew McElroy

Excerpts from andrew mcelroy’s message of Tue Nov 16 16:40:40 +0100
2010:

I would love to have the code to this. Please?

See fun! repl_ruby#RubyBuffer(…)

You must compile the C/ helper application first which calls back into
Vim using the client-server feature.

:echo has(‘clientserver’) must be 1
:echo v:servername must not be empty

There is no command yet. so just
call that function as shown in the comments.

Marc W.