When the soil is acidic, we add a basic substance to make it neutral. When it is basic, we add an acidic substance to it.
The question tells us that the soil is too acidic, so we need to add a basic substance in order to neutralise it.
Among vinegar and slaked lime, slaked lime is the basic substance and hence our answer.