mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
vim-patch:9.1.0439: Cannot filter the history (#28958)
Problem: Cannot filter the history
Solution: Implement :filter :history
closes: vim/vim#14835
42a5b5a6d0
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -662,7 +662,8 @@ void ex_history(exarg_T *eap)
|
||||
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');
|
||||
snprintf(IObuff, IOSIZE, "%c%6d ", i == idx ? '>' : ' ',
|
||||
hist[i].hisnum);
|
||||
|
Reference in New Issue
Block a user