mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
Support for :perl, :perlfile, :perldo and perleval() (#12809)
* support for :perl, :perlfile, :perldo and perleval() * document that the perl provider doesn't currently work on Windows * document that the perl legacy interface is now also supported * added perleval() documentation * import legacy perl interface tests * only perl 5.22+ is supported * healtcheck: use g:perl_host_prog if its set instead using just 'perl' isn't correct as it may not be the version requested. ditto for 'cpanm', rather go through 'App::cpanminus' to find the latest perl version
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user