forked from aniani/vim
patch 9.1.0439: Cannot filter the history
Problem: Cannot filter the history Solution: Implement :filter :history closes: #14835 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -767,7 +767,8 @@ ex_history(exarg_T *eap)
|
||||
if (i == hislen)
|
||||
i = 0;
|
||||
if (hist[i].hisstr != NULL
|
||||
&& hist[i].hisnum >= j && hist[i].hisnum <= k)
|
||||
&& hist[i].hisnum >= j && hist[i].hisnum <= k
|
||||
&& !message_filtered(hist[i].hisstr))
|
||||
{
|
||||
msg_putchar('\n');
|
||||
sprintf((char *)IObuff, "%c%6d ", i == idx ? '>' : ' ',
|
||||
|
Reference in New Issue
Block a user