:cquit : take an error code argument #7336

closes #2699

ex_cmds.lua: use flags consistent with similar commands such as `cnext`.

upstream discussion:
"[patch] :qcuit can take exit code"
https://groups.google.com/d/msg/vim_dev/_PjyNbUKyRc/oPgr5_ZXc6AJ
This commit is contained in:
Josh Leeb-du Toit
2017-09-29 01:12:56 +10:00
committed by Justin M. Keyes
parent bead15f10d
commit 9db42d4ce9
4 changed files with 63 additions and 19 deletions

View File

@@ -620,7 +620,7 @@ return {
},
{
command='cquit',
flags=bit.bor(TRLBAR, BANG),
flags=bit.bor(RANGE, NOTADR, COUNT, ZEROR, TRLBAR, BANG),
addr_type=ADDR_LINES,
func='ex_cquit',
},