Combine the vinigar, sugar, and salt in a saucepan, bring it to a boil.
Add the diced onions and turn the flame off.
Stir occasionally as it cools.