Mercurial > vim
diff runtime/doc/if_ruby.txt @ 3750:536aa8b0c934
Update runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 15 Aug 2012 17:43:31 +0200 |
parents | 0aa21d63aba0 |
children | 6ec6b7ff2d43 |
line wrap: on
line diff
--- a/runtime/doc/if_ruby.txt +++ b/runtime/doc/if_ruby.txt @@ -1,4 +1,4 @@ -*if_ruby.txt* For Vim version 7.3. Last change: 2010 Oct 27 +*if_ruby.txt* For Vim version 7.3. Last change: 2012 Aug 02 VIM REFERENCE MANUAL by Shugo Maeda @@ -25,7 +25,8 @@ downloading Ruby there. 1. Commands *ruby-commands* *:ruby* *:rub* -:rub[y] {cmd} Execute Ruby command {cmd}. +:rub[y] {cmd} Execute Ruby command {cmd}. A command to try it out: > + :ruby print "Hello" :rub[y] << {endpattern} {script} @@ -40,9 +41,6 @@ 1. Commands *ruby-commands* wasn't compiled in. To avoid errors, see |script-here|. -Command to try it out: > - :ruby print "Hello" # this is a comment - Example Vim script: > function! RedGem() @@ -211,6 +209,8 @@ for sure edit "gvim.exe" and search for If you want to build Vim with Ruby 1.9.1, you need to edit the config.h file and comment-out the check for _MSC_VER. +You may also need to rename the include directory name to match the version, +strangely for Ruby 1.9.3 the directory is called 1.9.1. ============================================================================== vim:tw=78:ts=8:ft=help:norl: