0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.0.0560: :windo allows for ! but it's not supported

Problem:    :windo allows for ! but it's not supported.
Solution:   Disallow passing !. (Hirohito Higashi)
This commit is contained in:
Bram Moolenaar
2017-04-10 21:46:38 +02:00
parent f803a76978
commit 451a4a1cb7
2 changed files with 3 additions and 1 deletions

View File

@@ -1623,7 +1623,7 @@ EX(CMD_wincmd, "wincmd", ex_wincmd,
NEEDARG|WORD1|RANGE|NOTADR, NEEDARG|WORD1|RANGE|NOTADR,
ADDR_WINDOWS), ADDR_WINDOWS),
EX(CMD_windo, "windo", ex_listdo, EX(CMD_windo, "windo", ex_listdo,
BANG|NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL, NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL,
ADDR_WINDOWS), ADDR_WINDOWS),
EX(CMD_winpos, "winpos", ex_winpos, EX(CMD_winpos, "winpos", ex_winpos,
EXTRA|TRLBAR|CMDWIN, EXTRA|TRLBAR|CMDWIN,

View File

@@ -764,6 +764,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 */
/**/
560,
/**/ /**/
559, 559,
/**/ /**/