diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-01-01 04:47:35 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-01-01 04:58:05 -0500 |
commit | d7b577d6ab38da8f199a616707a666c43e252ce3 (patch) | |
tree | 1b1b17d7d365223453471bc1b72a1b23dc679e60 /src/nvim/ex_cmds.lua | |
parent | d1608f7503512b37650522cf5c8a3dce7add5e3b (diff) | |
download | rneovim-d7b577d6ab38da8f199a616707a666c43e252ce3.tar.gz rneovim-d7b577d6ab38da8f199a616707a666c43e252ce3.tar.bz2 rneovim-d7b577d6ab38da8f199a616707a666c43e252ce3.zip |
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)
https://github.com/vim/vim/commit/8ffc7c8b5f004971cb6f2bdcfbe4f7123cce717c
Diffstat (limited to 'src/nvim/ex_cmds.lua')
-rw-r--r-- | src/nvim/ex_cmds.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/ex_cmds.lua b/src/nvim/ex_cmds.lua index 872f32d874..297740c752 100644 --- a/src/nvim/ex_cmds.lua +++ b/src/nvim/ex_cmds.lua @@ -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', }, { |