0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.4519: Vim9: Can still use ":fini" and ":finis" for ":finish"

Problem:    Vim9: Can still use ":fini" and ":finis" for ":finish".
Solution:   Require using ":finish".
This commit is contained in:
Bram Moolenaar
2022-03-06 14:51:22 +00:00
parent 655b734ee8
commit d523c7be5c
3 changed files with 5 additions and 1 deletions

View File

@@ -630,7 +630,7 @@ EXCMD(CMD_finally, "finally", ex_finally,
EX_TRLBAR|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK|EX_WHOLE,
ADDR_NONE),
EXCMD(CMD_finish, "finish", ex_finish,
EX_TRLBAR|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK,
EX_TRLBAR|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK|EX_WHOLE,
ADDR_NONE),
EXCMD(CMD_first, "first", ex_rewind,
EX_EXTRA|EX_BANG|EX_CMDARG|EX_ARGOPT|EX_TRLBAR,

View File

@@ -3400,6 +3400,8 @@ def Test_minimal_command_name_length()
'expor',
'fina',
'finall',
'fini',
'finis',
'imp',
'impo',
'impor',

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4519,
/**/
4518,
/**/