diff options
author | Alex Genco <alexgenco@gmail.com> | 2016-07-02 21:45:48 -0700 |
---|---|---|
committer | Alex Genco <alexgenco@gmail.com> | 2016-07-02 21:45:48 -0700 |
commit | 0a3c0205c5b9043d371133297439a11e0186585d (patch) | |
tree | 3db1e35b8e2371289a0d37e3f1384bf6541e6780 /src/nvim/ex_cmds2.c | |
parent | f80eb768c75de2065626203de001738e1dda436e (diff) | |
download | rneovim-0a3c0205c5b9043d371133297439a11e0186585d.tar.gz rneovim-0a3c0205c5b9043d371133297439a11e0186585d.tar.bz2 rneovim-0a3c0205c5b9043d371133297439a11e0186585d.zip |
Add :ruby, :rubyfile, and :rubydo ex commands
Diffstat (limited to 'src/nvim/ex_cmds2.c')
-rw-r--r-- | src/nvim/ex_cmds2.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c index 40074f726c..57b3e380e8 100644 --- a/src/nvim/ex_cmds2.c +++ b/src/nvim/ex_cmds2.c @@ -897,6 +897,21 @@ void ex_pydo(exarg_T *eap) script_host_do_range("python", eap); } +void ex_ruby(exarg_T *eap) +{ + script_host_execute("ruby", eap); +} + +void ex_rubyfile(exarg_T *eap) +{ + script_host_execute_file("ruby", eap); +} + +void ex_rubydo(exarg_T *eap) +{ + script_host_do_range("ruby", eap); +} + void ex_python3(exarg_T *eap) { script_host_execute("python3", eap); |