vim-ios
vim-ios copied to clipboard
Not being taken to the compiler error when building with Xbuild fails.
When there's a compiler error and some warnings in the project, I usually end up where some warning is located instead of being taken to the error location.
Thanks for the report! I've noticed this, but haven't been motivated to fix it until now. I hope to spend some time on this today.
My plan is to write a filter which removes noise (I get some things as errors which aren't) and sorts the warnings to the end.
This doesn't fix the warnings problem, but putting this in your .vimrc will filter a lot of noise:
set errorformat=
\%f:%l:%c:{%*[^}]}:\ error:\ %m,
\%f:%l:%c:{%*[^}]}:\ fatal\ error:\ %m,
\%f:%l:%c:{%*[^}]}:\ warning:\ %m,
\%f:%l:%c:\ error:\ %m,
\%f:%l:%c:\ fatal\ error:\ %m,
\%f:%l:%c:\ warning:\ %m,
\%f:%l:\ error:\ %m,
\%f:%l:\ fatal\ error:\ %m,
\%f:%l:\ warning:\ %m
Thanks, will try this out.