do_one_cmd: Remove :pyxdo/:pyxfile from "handle <bar>" switch

In 8f288698e4, these commands were
incorrectly added to the switch that determines whether a command needs
to parse for "|" on their own when ea.skip is set.

This means that "if 0 | pyxfile foo.py | endif" would execute foo.py
when it should do nothing.  Removing them from the switch skips to the
end of `do_one_cmd()`, avoiding running any script.
This commit is contained in:
James McCoy 2020-11-22 22:42:18 -05:00
parent cd691f2b6f
commit 503e758a2f
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB

View File

@ -1873,8 +1873,6 @@ static char_u * do_one_cmd(char_u **cmdlinep,
case CMD_python3: case CMD_python3:
case CMD_pythonx: case CMD_pythonx:
case CMD_pyx: case CMD_pyx:
case CMD_pyxdo:
case CMD_pyxfile:
case CMD_return: case CMD_return:
case CMD_rightbelow: case CMD_rightbelow:
case CMD_ruby: case CMD_ruby: