1
0
forked from aniani/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 #4344)
This commit is contained in:
Bram Moolenaar
2019-05-05 21:00:26 +02:00
parent 25c9c680ec
commit 8ffc7c8b5f
5 changed files with 75 additions and 26 deletions

View File

@@ -336,8 +336,8 @@ EX(CMD_checktime, "checktime", ex_checktime,
RANGE|BUFNAME|COUNT|EXTRA|TRLBAR,
ADDR_OTHER),
EX(CMD_chistory, "chistory", qf_history,
TRLBAR,
ADDR_NONE),
RANGE|COUNT|TRLBAR,
ADDR_UNSIGNED),
EX(CMD_clist, "clist", qf_list,
BANG|EXTRA|TRLBAR|CMDWIN,
ADDR_NONE),
@@ -828,8 +828,8 @@ EX(CMD_lhelpgrep, "lhelpgrep", ex_helpgrep,
EXTRA|NOTRLCOM|NEEDARG,
ADDR_NONE),
EX(CMD_lhistory, "lhistory", qf_history,
TRLBAR,
ADDR_NONE),
RANGE|COUNT|TRLBAR,
ADDR_UNSIGNED),
EX(CMD_ll, "ll", ex_cc,
RANGE|COUNT|TRLBAR|BANG,
ADDR_QUICKFIX),