Reduce the heat to low. Add the remaining 1 1/2 teaspoons oil and leeks. Cook, stirring, until the leeks are soft, about 5 minutes. Add garlic, sugar and rosemary and cook until fragrant, about 2 minutes more. Increase the heat to medium-high, stir in vinegar and cook until most of the liquid has evaporated.