aboutsummaryrefslogtreecommitdiff
path: root/scripts/genex_cmds.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-02-17 16:25:19 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-02-17 16:25:19 +0100
commitc1bc784ad8b1ed64e815fa9d38d9acea3a0362bf (patch)
tree64b6da66f07cc578f9628195c8e79cb94edd7c43 /scripts/genex_cmds.lua
parentf017ae611595a266decdd418c1e58c49a9a8d1b2 (diff)
parentee16f78fa94bd48754fca0c550e225e086a5cce5 (diff)
downloadrneovim-c1bc784ad8b1ed64e815fa9d38d9acea3a0362bf.tar.gz
rneovim-c1bc784ad8b1ed64e815fa9d38d9acea3a0362bf.tar.bz2
rneovim-c1bc784ad8b1ed64e815fa9d38d9acea3a0362bf.zip
Merge #6110 'refactor: Move vim_*printf to strings.c'.
Diffstat (limited to 'scripts/genex_cmds.lua')
-rw-r--r--scripts/genex_cmds.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/genex_cmds.lua b/scripts/genex_cmds.lua
index b1d34fbffd..cb566d46ca 100644
--- a/scripts/genex_cmds.lua
+++ b/scripts/genex_cmds.lua
@@ -66,7 +66,7 @@ for i, cmd in ipairs(defs) do
defsfile:write(string.format([[
[%s] = {
.cmd_name = (char_u *) "%s",
- .cmd_func = &%s,
+ .cmd_func = (ex_func_T)&%s,
.cmd_argt = %uL,
.cmd_addr_type = %i
}]], enumname, cmd.command, cmd.func, cmd.flags, cmd.addr_type))