support for :perl, :perlfile, :perldo and perleval()

This commit is contained in:
Jacques Germishuys
2020-08-29 22:12:10 +01:00
parent c6648fe882
commit 9bef25314e
10 changed files with 205 additions and 6 deletions

View File

@@ -935,6 +935,21 @@ void ex_pydo3(exarg_T *eap)
script_host_do_range("python3", eap);
}
void ex_perl(exarg_T *eap)
{
script_host_execute("perl", eap);
}
void ex_perlfile(exarg_T *eap)
{
script_host_execute_file("perl", eap);
}
void ex_perldo(exarg_T *eap)
{
script_host_do_range("perl", eap);
}
// Command line expansion for :profile.
static enum {
PEXP_SUBCMD, ///< expand :profile sub-commands