vim-patch:8.0.0251: not easy to select Python 2 or 3 (#9173)

Problem: It is not so easy to write a script that works with both Python 2 and Python 3, even when the Python code works with both.
Solution: Add 'pyxversion', :pyx, etc. (Marc Weber, Ken Takata)

f42dd3c390
This commit is contained in:
David Jimenez
2019-01-02 13:51:03 +00:00
committed by Justin M. Keyes
parent 5a11e55358
commit 8f288698e4
21 changed files with 447 additions and 2 deletions

View File

@@ -2158,6 +2158,10 @@ static char_u * do_one_cmd(char_u **cmdlinep,
case CMD_python:
case CMD_py3:
case CMD_python3:
case CMD_pythonx:
case CMD_pyx:
case CMD_pyxdo:
case CMD_pyxfile:
case CMD_return:
case CMD_rightbelow:
case CMD_ruby: