summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-21 15:39:02 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-21 15:39:02 +0100
commitf79d9dd43f6fe05711d7e2616ab4b8bde2ccb089 (patch)
treecf41b3c62e71e9fca5ddc61636465ab5e05283a9 /src/ex_cmds.h
parent2d8ed0203aedd5f6c22efa99394a3677c17c7a7a (diff)
patch 8.2.4989: cannot specify a function name for :defcompilev8.2.4989
Problem: Cannot specify a function name for :defcompile. Solution: Implement a function name argument for :defcompile.
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 e4f9bb05db..b8cf41d44c 100644
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -465,7 +465,7 @@ EXCMD(CMD_def, "def", ex_function,
EX_EXTRA|EX_BANG|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK,
ADDR_NONE),
EXCMD(CMD_defcompile, "defcompile", ex_defcompile,
- EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK|EX_TRLBAR,
+ EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK|EX_TRLBAR|EX_EXTRA,
ADDR_NONE),
EXCMD(CMD_delcommand, "delcommand", ex_delcommand,
EX_NEEDARG|EX_WORD1|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK,