mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.3.444
Problem: ":all!" and ":sall!" give error E477, even though the documentation says these are valid commands. Solution: Support the exclamation mark. (Hirohito Higashi)
This commit is contained in:
parent
a64ba220f0
commit
61c3519b78
@ -102,7 +102,7 @@ EX(CMD_abclear, "abclear", ex_abclear,
|
|||||||
EX(CMD_aboveleft, "aboveleft", ex_wrongmodifier,
|
EX(CMD_aboveleft, "aboveleft", ex_wrongmodifier,
|
||||||
NEEDARG|EXTRA|NOTRLCOM),
|
NEEDARG|EXTRA|NOTRLCOM),
|
||||||
EX(CMD_all, "all", ex_all,
|
EX(CMD_all, "all", ex_all,
|
||||||
RANGE|NOTADR|COUNT|TRLBAR),
|
BANG|RANGE|NOTADR|COUNT|TRLBAR),
|
||||||
EX(CMD_amenu, "amenu", ex_menu,
|
EX(CMD_amenu, "amenu", ex_menu,
|
||||||
RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
|
RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
|
||||||
EX(CMD_anoremenu, "anoremenu", ex_menu,
|
EX(CMD_anoremenu, "anoremenu", ex_menu,
|
||||||
@ -798,7 +798,7 @@ EX(CMD_sNext, "sNext", ex_previous,
|
|||||||
EX(CMD_sargument, "sargument", ex_argument,
|
EX(CMD_sargument, "sargument", ex_argument,
|
||||||
BANG|RANGE|NOTADR|COUNT|EXTRA|EDITCMD|ARGOPT|TRLBAR),
|
BANG|RANGE|NOTADR|COUNT|EXTRA|EDITCMD|ARGOPT|TRLBAR),
|
||||||
EX(CMD_sall, "sall", ex_all,
|
EX(CMD_sall, "sall", ex_all,
|
||||||
RANGE|NOTADR|COUNT|TRLBAR),
|
BANG|RANGE|NOTADR|COUNT|TRLBAR),
|
||||||
EX(CMD_sandbox, "sandbox", ex_wrongmodifier,
|
EX(CMD_sandbox, "sandbox", ex_wrongmodifier,
|
||||||
NEEDARG|EXTRA|NOTRLCOM),
|
NEEDARG|EXTRA|NOTRLCOM),
|
||||||
EX(CMD_saveas, "saveas", ex_write,
|
EX(CMD_saveas, "saveas", ex_write,
|
||||||
|
@ -63,6 +63,12 @@ A 3:close
|
|||||||
:" write "testtext 1"
|
:" write "testtext 1"
|
||||||
A 3:close!
|
A 3:close!
|
||||||
:w >>test.out
|
:w >>test.out
|
||||||
|
:set nohidden
|
||||||
|
:" test ":all!" hides changed buffer; write "testtext 2 2 2"
|
||||||
|
:sp Xtest4
|
||||||
|
GA 4:all!
|
||||||
|
:1wincmd w
|
||||||
|
:w >>test.out
|
||||||
:qa!
|
:qa!
|
||||||
ENDTEST
|
ENDTEST
|
||||||
|
|
||||||
|
@ -9,3 +9,4 @@ testtext 3 3
|
|||||||
testtext 1
|
testtext 1
|
||||||
testtext 3 3 3
|
testtext 3 3 3
|
||||||
testtext 1
|
testtext 1
|
||||||
|
testtext 2 2 2
|
||||||
|
@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
444,
|
||||||
/**/
|
/**/
|
||||||
443,
|
443,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user