diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-04-23 08:27:17 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-04-23 08:27:17 -0300 |
commit | 04e098fc3c485eaa6d323e9121e9c81215d94a87 (patch) | |
tree | 6baa4183e8a40f6687a8825f4dde662ae650075c /src/nvim/ex_cmds2.c | |
parent | 0bd72fcae1071d1a5583af31f29e2223925044bc (diff) | |
parent | 577d9f3f7e41cd2ac4813a35832bb2550c31a481 (diff) | |
download | rneovim-04e098fc3c485eaa6d323e9121e9c81215d94a87.tar.gz rneovim-04e098fc3c485eaa6d323e9121e9c81215d94a87.tar.bz2 rneovim-04e098fc3c485eaa6d323e9121e9c81215d94a87.zip |
Merge PR #2208 'if_python3 support'
Diffstat (limited to 'src/nvim/ex_cmds2.c')
-rw-r--r-- | src/nvim/ex_cmds2.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c index b9f2d1f0d2..dc04835774 100644 --- a/src/nvim/ex_cmds2.c +++ b/src/nvim/ex_cmds2.c @@ -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 { |