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)
diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index 9e420b3..37577f7 100644
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -336,8 +336,8 @@
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 @@
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),