On 2020-05-02, Tony Mechelynck wrote:
> On Sat, May 2, 2020 at 10:45 AM Christian Brabandt wrote:
> >
> > I think you need the S flag in shortmess
>
> Well, if I add it, the message reappears; and yet, that "big S" flag
> is supposed to suppress the [1/5] count when searching, so how can I
> keep that message and _also_ have the BOTTOM/TOP message? Has there
> been a mixup in the help, and should these two flags switch places, or
> is it subtler than that?
With the current code, you cannot have both the search stats ([1/5]
count) and the BOTTOM/TOP message enabled at the same time.
I looked into fixing that, but the main problem was that the text in
the command line is in a global buffer that has one highlight
setting. The entire line can have normal highlighting or it can
have the WarningMsg highlighting of the BOTTOM/TOP message but it
can't have separating highlighting for the message and the count.
That could be changed, but I'd being coming up with an ad hoc
solution that might not be in keeping with the rest of Vim, so
I decided to leave it be.
Regards,
Gary