From 1a06a3948861b11a9bae0b044f0342fc2190584d Mon Sep 17 00:00:00 2001 From: lonerover Date: Tue, 17 Jan 2017 15:36:00 +0800 Subject: vim-patch:7.4.2049 Problem: There is no way to get a list of the error lists. Solution: Add ":chistory" and ":lhistory". https://github.com/vim/vim/commit/f6acffbe83e622542d9fdf3066f51933e46e4954 --- src/nvim/ex_cmds.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/nvim/ex_cmds.lua') diff --git a/src/nvim/ex_cmds.lua b/src/nvim/ex_cmds.lua index 88095602ba..5f81306fc1 100644 --- a/src/nvim/ex_cmds.lua +++ b/src/nvim/ex_cmds.lua @@ -461,6 +461,12 @@ return { addr_type=ADDR_LINES, func='ex_checktime', }, + { + command='chistory', + flags=bit.bor(TRLBAR), + addr_type=ADDR_LINES, + func='qf_history', + }, { command='clist', flags=bit.bor(BANG, EXTRA, TRLBAR, CMDWIN), @@ -1399,6 +1405,12 @@ return { addr_type=ADDR_LINES, func='ex_helpgrep', }, + { + command='lhistory', + flags=bit.bor(TRLBAR), + addr_type=ADDR_LINES, + func='qf_history', + }, { command='ll', flags=bit.bor(RANGE, NOTADR, COUNT, TRLBAR, BANG), -- cgit