Suppose a source code interpreter outputs the error messages in the following format:
M123 Warning path/to/file 123 Description message
That is:
error_code error_type file line_number message
How can I set errorformat
such that I get both the error_code and message in the quickfix window?
Please note that error_type can be any string, with and without numbers.
%m
, and this can only be used once. I hope I am wrong, though!