vim: python compat, fix wrong synchronization condition