aboutsummaryrefslogtreecommitdiff
path: root/scripts/genex_cmds.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-04-29 02:11:30 -0400
committerJustin M. Keyes <justinkz@gmail.com>2015-04-29 02:11:30 -0400
commit45b617afada9304cb265aad02645b22d76dfc2d5 (patch)
tree7f28a768d2c88e646f1bc4e1b9e5b1ea604cce21 /scripts/genex_cmds.lua
parent6a8862ded4d6f1693ac591ac8e47d1acbd044c49 (diff)
parentb46746b93ef298688cba3d8fbbcdae13e069935c (diff)
downloadrneovim-45b617afada9304cb265aad02645b22d76dfc2d5.tar.gz
rneovim-45b617afada9304cb265aad02645b22d76dfc2d5.tar.bz2
rneovim-45b617afada9304cb265aad02645b22d76dfc2d5.zip
Merge pull request #2041 from fmoralesc/command-ranges
Command ranges (was PR #1793)
Diffstat (limited to 'scripts/genex_cmds.lua')
-rw-r--r--scripts/genex_cmds.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/genex_cmds.lua b/scripts/genex_cmds.lua
index 75739bda74..b1d34fbffd 100644
--- a/scripts/genex_cmds.lua
+++ b/scripts/genex_cmds.lua
@@ -67,8 +67,9 @@ for i, cmd in ipairs(defs) do
[%s] = {
.cmd_name = (char_u *) "%s",
.cmd_func = &%s,
- .cmd_argt = %u
- }]], enumname, cmd.command, cmd.func, cmd.flags))
+ .cmd_argt = %uL,
+ .cmd_addr_type = %i
+ }]], enumname, cmd.command, cmd.func, cmd.flags, cmd.addr_type))
end
defsfile:write([[