aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/if_ruby.txt
diff options
context:
space:
mode:
authorAlex Genco <alexgenco@gmail.com>2020-10-17 07:36:36 -0700
committerAlex Genco <alexgenco@gmail.com>2020-10-21 10:20:21 -0700
commited0a70087a15621e7f45567feef1900f348c0916 (patch)
treee7dc4120ae450b81b0796e62d7ac28c253005e96 /runtime/doc/if_ruby.txt
parent0f590ae2a8bcebcb1398cb30997bd718d6f466e5 (diff)
downloadrneovim-ed0a70087a15621e7f45567feef1900f348c0916.tar.gz
rneovim-ed0a70087a15621e7f45567feef1900f348c0916.tar.bz2
rneovim-ed0a70087a15621e7f45567feef1900f348c0916.zip
vim-patch:8.1.1056: no eval function for Ruby
Problem: No eval function for Ruby. Solution: Add rubyeval(). (Ozaki Kiichi, closes vim/vim#4152) https://github.com/vim/vim/commit/e99be0e6d28fad96efd2b2be23fa38e7559e80e1
Diffstat (limited to 'runtime/doc/if_ruby.txt')
-rw-r--r--runtime/doc/if_ruby.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/doc/if_ruby.txt b/runtime/doc/if_ruby.txt
index 87047712f3..c8d2409549 100644
--- a/runtime/doc/if_ruby.txt
+++ b/runtime/doc/if_ruby.txt
@@ -185,4 +185,13 @@ $curwin The current window object.
$curbuf The current buffer object.
==============================================================================
+6. rubyeval() Vim function *ruby-rubyeval*
+
+To facilitate bi-directional interface, you can use |rubyeval()| function to
+evaluate Ruby expressions and pass their values to Vim script.
+
+The Ruby value "true", "false" and "nil" are converted to v:true, v:false and
+v:null, respectively.
+
+==============================================================================
vim:tw=78:ts=8:noet:ft=help:norl: