Add if_python3 support

Reviewed-by: Michael Reed <m.reed@mykolab.com>, Daniel Hahler <github@thequod.de>
Helped-by: Daniel Hahler <github@thequod.de>
This commit is contained in:
Shougo Matsushita
2015-03-21 07:55:39 +09:00
parent 84891f2802
commit 42de617974
11 changed files with 392 additions and 156 deletions

View File

@@ -797,6 +797,20 @@ void ex_pydo(exarg_T *eap)
script_host_do_range("python", eap);
}
void ex_python3(exarg_T *eap)
{
script_host_execute("python3", eap);
}
void ex_py3file(exarg_T *eap)
{
script_host_execute_file("python3", eap);
}
void ex_pydo3(exarg_T *eap)
{
script_host_do_range("python3", eap);
}
/* Command line expansion for :profile. */
static enum {