The Scottish Government has pledged a record £2.3m for Scottish artists and companies to get involved in the 70th anniversary of the Edinburgh festivals this year, reversing a cut imposed in 2015.