In vancomycin, the only OH group(s) bonded to an sp²‑hybridized carbon are those that are phenolic (on the aromatic ring), because aromatic ring carbons are sp² hybridized.

All other OH groups in vancomycin (for example, those on sugar-like side chains) are attached to sp³ carbons and therefore do not meet the condition in the question.