Alex Rivera | Logout

Preventing :make in VIM from going to a warning

Asked 2009-03-19T19:06:44.177
17

I have a warning I can not easily remove from my build, every time i run ":make" from inside vim the quickfix takes me to some header file I don't care about. How can I prevent VIM from doing this and only showing me warnings and errors I do care about?

Edit
Report

1 Answer

7

Check :h 'errorformat' (aka &efm), there are options to ignore warnings as long as you can recognize them with a pattern.

answered 2009-03-19T19:43:44.603

Your Answer