Try the following in an empty buffer:


It will give you an

E486: Pattern not found: .

message, but it won't be highlighted as an ErrorMsg.



on the same buffer does give the error message with the correct highlighting.

I'm running Vim 7 without any patches applied.


Reply via email to