vim-patch:7.4.1738

Problem:    Count for ":messages" depends on number of lines.
Solution:   Add ADDR_OTHER address type.

5d91646599
This commit is contained in:
Michael Ennen
2016-11-26 16:23:26 -07:00
parent d2be11fbf2
commit f94740097b
3 changed files with 4 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ local ADDR_LOADED_BUFFERS = 3
local ADDR_BUFFERS = 4
local ADDR_TABS = 5
local ADDR_QUICKFIX = 6
local ADDR_OTHER = 99
-- The following table is described in ex_cmds_defs.h file.
return {
@@ -1605,7 +1606,7 @@ return {
{
command='messages',
flags=bit.bor(EXTRA, TRLBAR, RANGE, CMDWIN),
addr_type=ADDR_LINES,
addr_type=ADDR_OTHER,
func='ex_messages',
},
{