From their web site:
The Grants for Places of Worship programme is for projects that involve urgent structural repairs to public places of worship that are listed at Categories A, B and C.
It is a joint scheme, run by the Heritage Lottery Fund and Historic Scotland. As part of a repair project, we can also fund work to encourage greater community use and engagement. You can apply for a grant from £10,000 to £250,000.
Further information here:
http://www.hlf.org.uk/HowToApply/programmes/Pages/Grants_Places_Worship_Scotland.aspx