Pour out the sugar, a little salt, a little water and simmer until the mango is ready, until it becomes transparent. About 30 minutes. If the mango is greenish, you will have to simmer a little longer, so there is a little more water. 15 minutes before cooking, add the vinegar. The amount of vinegar is adjustable to taste, it is better to have less.