The addition of vinegar to the pickle doesn’t just help balance out the spiciness of the chilies, but also acts as a natural preservative, and helps the pickle stay fresh for a longer time.  If you’re making the pickle in a smaller batch and don’t want it to last that long, you can skip using the vinegar and use some lemon juice to let the sourness cut through the heat of the chilies.