From 86330fdd3f39a8975b25b7050a3d02b77a442057 Mon Sep 17 00:00:00 2001 From: Felipe Morales Date: Sat, 10 Jan 2015 20:27:17 -0300 Subject: vim-patch:7.4.530-531 Specify different kinds of counts for commands. Updated ex commands generator scripts. Includes fixes to comments from patch 7.4.531 Original message: Problem: Many commands take a count or range that is not using line numbers. Solution: For each command specify what kind of count it uses. For windows, buffers and arguments have "$" and "." have a relevant meaning. (Marcin Szamotulski) https://code.google.com/p/vim/source/detail?r=v7-4-530 https://code.google.com/p/vim/source/detail?r=v7-4-531 Add legacy tests for 7.4.530 https://code.google.com/p/vim/source/detail?r=1e6d87a36dcdca231721dde8cbbc26610fb3df27 --- scripts/genex_cmds.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts') 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([[ -- cgit