diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-05-21 15:39:02 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-21 15:39:02 +0100 |
commit | f79d9dd43f6fe05711d7e2616ab4b8bde2ccb089 (patch) | |
tree | cf41b3c62e71e9fca5ddc61636465ab5e05283a9 /src/ex_cmds.h | |
parent | 2d8ed0203aedd5f6c22efa99394a3677c17c7a7a (diff) | |
download | vim-git-f79d9dd43f6fe05711d7e2616ab4b8bde2ccb089.tar.gz |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index e4f9bb05d..b8cf41d44 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, |