mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 17:58:18 +00:00
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:

committed by
Justin M. Keyes

parent
5a11e55358
commit
8f288698e4
@@ -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:
|
||||
|
Reference in New Issue
Block a user