Scripting Vim with Ruby 2.0.0

Alex R. Young
usevim
Published in
1 min readApr 26, 2013

Vim supports several dynamic languages for scripting, including Python and Ruby. With the release of Ruby 2, interest in using the latest stable version of Ruby with Vim will start to pick up steam over the coming months. Kohei Suzuki noticed that Vim wouldn’t compile with --enable-rubyinterp=dynamic on 64bit platforms with Ruby 2.0.0, so he submitted a patch to the vim_dev group: ruby-dyn-2.0.0.patch.

The patch is fairly short, adding some preprocessor macros for numerical functions. Bram Moolenaar responded so presumably this patch will appear in Vim’s source soon.

--

--