diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-05 21:00:26 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-05 21:00:26 +0200 |
commit | 8ffc7c8b5f004971cb6f2bdcfbe4f7123cce717c (patch) | |
tree | 79e1e27de4fa2cdad1960ea5afa0b48950cc9658 /src/ex_cmds.h | |
parent | 25c9c680ec4dfbb51f4ef21c3460a48d3c67ffc8 (diff) | |
download | vim-git-8ffc7c8b5f004971cb6f2bdcfbe4f7123cce717c.tar.gz |
patch 8.1.1281: cannot specify a count with :chistoryv8.1.1281
Problem: Cannot specify a count with :chistory.
Solution: Add a count to :chistory and :lhistory. (Yegappan Lakshmanan,
closes #4344)
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r-- | src/ex_cmds.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 9e420b3fd..37577f7b3 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -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), |