diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2015-03-21 07:55:39 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2015-04-21 06:20:23 +0900 |
commit | 42de617974b6befaf5d25037bf6d92c2b889068b (patch) | |
tree | 3145cd37e5937ae3f6d000c02b8b146f2678fb81 /src/nvim/ex_cmds2.c | |
parent | 84891f2802a0db1a257580f341d70a5fdb0f6c75 (diff) | |
download | rneovim-42de617974b6befaf5d25037bf6d92c2b889068b.tar.gz rneovim-42de617974b6befaf5d25037bf6d92c2b889068b.tar.bz2 rneovim-42de617974b6befaf5d25037bf6d92c2b889068b.zip |
Add if_python3 support
Reviewed-by: Michael Reed <m.reed@mykolab.com>, Daniel Hahler <github@thequod.de>
Helped-by: Daniel Hahler <github@thequod.de>
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 { |