Let us consider the errorfile errors.err
info bla 3
more info
error 2
with the errorformat setting
set efm=%+Eerror\ %l,%-Winfo\ %m\ %l,%Zmore\ info
In the above errorfile, the first line is an information and is ignored (%-W), and the second line is a continuation of the first one. At the end, we expect that opening vim and calling :cg || copen shows us the error from the third line.
Instead, the quickfix window is empty.
If we replace %-W by %+W, we see the information and the error (as expected).
Similarly, if we add another error in front of the ignored information, we see both errors.
I suspect that the reason is that qfprev is not properly initalized in quickfix.c, but I am not sure.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
The issue is that the multiline error is started by %W and ends with %Z without adding any errors.
In my opinion, it is not the issue that no
%Cis present:
With
set efm=%+Eerror\ %l,%-Winfo\ %m\ %l,%+Ceven\ more\ %m,%Zmore\ info
(note the %C line)
and the errorfile
info bla 3
even more info
more info
error 2
we do not see error 2 in the quickfix window.
—
You are receiving this because you commented.
Fixed by patch 8.0.0026
—
You are receiving this because you commented.