The thing is that while coal plants are tied to coal and can't reasonably be adapted to other fuel sources, gas plants can be adapted to anything that burns - which includes CO2-neutral gas such as methane from biowaste, or methane made from electrolysis H2.
Therefore it is very viable to build gas plants now, especially for peak demand.