vim-patch:8.1.1281: cannot specify a count with :chistory

Problem:    Cannot specify a count with :chistory.
Solution:   Add a count to :chistory and :lhistory. (Yegappan Lakshmanan,
            closes vim/vim#4344)
8ffc7c8b5f
This commit is contained in:
Jan Edmund Lazo
2021-01-01 04:47:35 -05:00
parent d1608f7503
commit d7b577d6ab
4 changed files with 43 additions and 6 deletions

View File

@@ -490,8 +490,8 @@ module.cmds = {
},
{
command='chistory',
flags=bit.bor(TRLBAR),
addr_type='ADDR_NONE',
flags=bit.bor(RANGE, COUNT, TRLBAR),
addr_type='ADDR_UNSIGNED',
func='qf_history',
},
{
@@ -1470,8 +1470,8 @@ module.cmds = {
},
{
command='lhistory',
flags=bit.bor(TRLBAR),
addr_type='ADDR_NONE',
flags=bit.bor(RANGE, COUNT, TRLBAR),
addr_type='ADDR_UNSIGNED',
func='qf_history',
},
{