mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +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_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',
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user