[vim] Make vim fail more gracefully