Mercurial > vim
diff src/ex_cmds.h @ 28934:a712ea475390 v8.2.4989
patch 8.2.4989: cannot specify a function name for :defcompile
Commit: https://github.com/vim/vim/commit/f79d9dd43f6fe05711d7e2616ab4b8bde2ccb089
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 21 15:39:02 2022 +0100
patch 8.2.4989: cannot specify a function name for :defcompile
Problem: Cannot specify a function name for :defcompile.
Solution: Implement a function name argument for :defcompile.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 21 May 2022 16:45:03 +0200 |
parents | 2b595cee4c85 |
children | 5dfd4bd66ad8 |
line wrap: on
line diff
--- 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,