mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.4336: using :filter for :scriptnames does not work
Problem: Using :filter for :scriptnames does not work. (Ben Jackson) Solution: Call message_filtered(). (closes #9720)
This commit is contained in:
@@ -1658,10 +1658,13 @@ ex_scriptnames(exarg_T *eap)
|
||||
i,
|
||||
si->sn_state == SN_STATE_NOT_LOADED ? " A" : "",
|
||||
NameBuff);
|
||||
msg_putchar('\n');
|
||||
msg_outtrans(IObuff);
|
||||
out_flush(); // output one line at a time
|
||||
ui_breakcheck();
|
||||
if (!message_filtered(IObuff))
|
||||
{
|
||||
msg_putchar('\n');
|
||||
msg_outtrans(IObuff);
|
||||
out_flush(); // output one line at a time
|
||||
ui_breakcheck();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user