mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00: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:
@@ -35,6 +35,7 @@ local ADDR_LOADED_BUFFERS = 3
|
|||||||
local ADDR_BUFFERS = 4
|
local ADDR_BUFFERS = 4
|
||||||
local ADDR_TABS = 5
|
local ADDR_TABS = 5
|
||||||
local ADDR_QUICKFIX = 6
|
local ADDR_QUICKFIX = 6
|
||||||
|
local ADDR_OTHER = 99
|
||||||
|
|
||||||
-- The following table is described in ex_cmds_defs.h file.
|
-- The following table is described in ex_cmds_defs.h file.
|
||||||
return {
|
return {
|
||||||
@@ -1605,7 +1606,7 @@ return {
|
|||||||
{
|
{
|
||||||
command='messages',
|
command='messages',
|
||||||
flags=bit.bor(EXTRA, TRLBAR, RANGE, CMDWIN),
|
flags=bit.bor(EXTRA, TRLBAR, RANGE, CMDWIN),
|
||||||
addr_type=ADDR_LINES,
|
addr_type=ADDR_OTHER,
|
||||||
func='ex_messages',
|
func='ex_messages',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@@ -73,6 +73,7 @@
|
|||||||
#define ADDR_BUFFERS 4
|
#define ADDR_BUFFERS 4
|
||||||
#define ADDR_TABS 5
|
#define ADDR_TABS 5
|
||||||
#define ADDR_QUICKFIX 6
|
#define ADDR_QUICKFIX 6
|
||||||
|
#define ADDR_OTHER 99
|
||||||
|
|
||||||
typedef struct exarg exarg_T;
|
typedef struct exarg exarg_T;
|
||||||
|
|
||||||
|
@@ -706,7 +706,7 @@ static int included_patches[] = {
|
|||||||
1741,
|
1741,
|
||||||
1740,
|
1740,
|
||||||
// 1739,
|
// 1739,
|
||||||
// 1738,
|
1738,
|
||||||
// 1737 NA
|
// 1737 NA
|
||||||
// 1736 NA
|
// 1736 NA
|
||||||
1735,
|
1735,
|
||||||
|
Reference in New Issue
Block a user