Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
After running :make, the quickfix window displays the compile command and other stdout messages from the makefile, but it doesn't display any errors. Everything but stderr messages are displaying. How do I enable stderr messages?
You have to add this to your vimrc:
...to enable stderr output in the quickfix window.
To collect only stderr, use:
To collect both stderr and stdout:
set shellpipe=>%s\ 2>&1
Or, to collect both and watch builds as they proceed:
set shellpipe=2>&1\ \|\ tee
Required, but never shown