Bring the vinegar and sugar to a boil in a saucepan over high heat. Cook and stir until the sugar has dissolved, then stir in the jalapeno peppers, carrots, and onion. Remove from the heat and let stand for 1 hour. Cool to room temperature before serving.