diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-03-06 14:51:22 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-06 14:51:22 +0000 |
commit | d523c7be5cf39174f3447e8ec498051cea381d27 (patch) | |
tree | 3991b0032ddf82d0b4325314aaf4a754a777b30d /src/ex_cmds.h | |
parent | 655b734ee858e90dd8d28549b7704a71b25d30e7 (diff) | |
download | vim-git-d523c7be5cf39174f3447e8ec498051cea381d27.tar.gz |
patch 8.2.4519: Vim9: Can still use ":fini" and ":finis" for ":finish"v8.2.4519
Problem: Vim9: Can still use ":fini" and ":finis" for ":finish".
Solution: Require using ":finish".
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r-- | src/ex_cmds.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index cf4bfdccf..a13de4d80 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -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, |