Add :ruby, :rubyfile, and :rubydo ex commands

This commit is contained in:
Alex Genco
2016-07-02 21:45:48 -07:00
parent f80eb768c7
commit 0a3c0205c5
6 changed files with 170 additions and 14 deletions

View File

@@ -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);