aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/if_ruby.txt
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-10-21 21:04:49 -0400
committerGitHub <noreply@github.com>2020-10-21 21:04:49 -0400
commit10ac5ada31b184cac6936a692b2c122d0d85a370 (patch)
tree4c547ae929fa165c29173cd9034e50c8f6711c86 /runtime/doc/if_ruby.txt
parent0f590ae2a8bcebcb1398cb30997bd718d6f466e5 (diff)
parentda3b59fc8e0163c6fd63406c3e6dd803041aa5aa (diff)
downloadrneovim-10ac5ada31b184cac6936a692b2c122d0d85a370.tar.gz
rneovim-10ac5ada31b184cac6936a692b2c122d0d85a370.tar.bz2
rneovim-10ac5ada31b184cac6936a692b2c122d0d85a370.zip
Merge pull request #13107 from alexgenco/rubyeval
vim-patch:8.1.1056: no eval function for Ruby
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: