Meanwhile, in a skillet over medium heat, soften the onion and garlic in the oil. Add the mushrooms and cook until they release their water and begin to brown, 12 to 15 minutes. Season with salt and pepper. Deglaze with the vin-egar and water. Adjust the seasoning. Keep warm.