mirror of
https://github.com/neovim/neovim.git
synced 2026-08-26 00:51:53 +00:00
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:
@@ -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',
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user