diff options
author | Felipe Morales <hel.sheep@gmail.com> | 2015-01-10 20:27:17 -0300 |
---|---|---|
committer | Felipe Morales <hel.sheep@gmail.com> | 2015-04-28 23:08:30 -0300 |
commit | 86330fdd3f39a8975b25b7050a3d02b77a442057 (patch) | |
tree | 51f60759b67fec7740cc7a6adbb9c2bac4395b73 /scripts/genex_cmds.lua | |
parent | 6a8862ded4d6f1693ac591ac8e47d1acbd044c49 (diff) | |
download | rneovim-86330fdd3f39a8975b25b7050a3d02b77a442057.tar.gz rneovim-86330fdd3f39a8975b25b7050a3d02b77a442057.tar.bz2 rneovim-86330fdd3f39a8975b25b7050a3d02b77a442057.zip |
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
Diffstat (limited to 'scripts/genex_cmds.lua')
-rw-r--r-- | scripts/genex_cmds.lua | 5 |
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([[ |