vim: better support of sync errors