Mercurial > vim
diff src/ex_cmds.h @ 3354:72146e7f47fa v7.3.444
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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 13 Feb 2012 00:01:43 +0100 |
parents | 70c8f54e7efb |
children | d8ce4a2eb44e |
line wrap: on
line diff
--- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -102,7 +102,7 @@ EX(CMD_abclear, "abclear", ex_abclear, EX(CMD_aboveleft, "aboveleft", ex_wrongmodifier, NEEDARG|EXTRA|NOTRLCOM), EX(CMD_all, "all", ex_all, - RANGE|NOTADR|COUNT|TRLBAR), + BANG|RANGE|NOTADR|COUNT|TRLBAR), EX(CMD_amenu, "amenu", ex_menu, RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN), EX(CMD_anoremenu, "anoremenu", ex_menu, @@ -798,7 +798,7 @@ EX(CMD_sNext, "sNext", ex_previous, EX(CMD_sargument, "sargument", ex_argument, BANG|RANGE|NOTADR|COUNT|EXTRA|EDITCMD|ARGOPT|TRLBAR), EX(CMD_sall, "sall", ex_all, - RANGE|NOTADR|COUNT|TRLBAR), + BANG|RANGE|NOTADR|COUNT|TRLBAR), EX(CMD_sandbox, "sandbox", ex_wrongmodifier, NEEDARG|EXTRA|NOTRLCOM), EX(CMD_saveas, "saveas", ex_write,