summaryrefslogtreecommitdiff
path: root/src/ex_cmds.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-03-06 14:51:22 +0000
committerBram Moolenaar <Bram@vim.org>2022-03-06 14:51:22 +0000
commitd523c7be5cf39174f3447e8ec498051cea381d27 (patch)
tree3991b0032ddf82d0b4325314aaf4a754a777b30d /src/ex_cmds.h
parent655b734ee858e90dd8d28549b7704a71b25d30e7 (diff)
downloadvim-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.h2
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,