I'm using the default errorformat
, but messages starting with "In file included from" aren't giving me the quickfix output I expect
For example:
|| [ 0%] Building CXX object CMakeFiles/blah/FooBar.cpp.o
|| In file included from /Users/me/Projects/FooTron9000/repo/src/FooBar.cpp:8:
/Users/me/Projects/FooTron9000/repo/src/FooHeader.h|5 col 10| fatal error: 'DoesNotExist.h' file not found
|| #include "DoesNotExist.h"
|| ^~~~~~~~~~~~~~~~~~~~~~~~~~
|| 1 error generated.
I actually want to be able to jump to line 8 of /Users/me/Projects/FooTron9000/repo/src/FooBar.cpp, not just line 5 of FooHeader.h. How can I set that up?
:h :compiler
to choose one of predefined patternserrorformat-=blahblahblah
in my vimrc isn't doing it.:h errorformat
also has examples.