mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
d2be11fbf2
commit
f94740097b
@ -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',
|
||||
},
|
||||
{
|
||||
|
@ -73,6 +73,7 @@
|
||||
#define ADDR_BUFFERS 4
|
||||
#define ADDR_TABS 5
|
||||
#define ADDR_QUICKFIX 6
|
||||
#define ADDR_OTHER 99
|
||||
|
||||
typedef struct exarg exarg_T;
|
||||
|
||||
|
@ -706,7 +706,7 @@ static int included_patches[] = {
|
||||
1741,
|
||||
1740,
|
||||
// 1739,
|
||||
// 1738,
|
||||
1738,
|
||||
// 1737 NA
|
||||
// 1736 NA
|
||||
1735,
|
||||
|
Loading…
Reference in New Issue
Block a user