vim: add error reporting function independent of syntastic