Generally speaking, fund managers will work with their attorneys to defer costs until the fund does a first close. Then, the fund manager can use some of the management fees and sometimes the fund itself to pay for expenses.
With regards to fund formation attorneys, please read the following:
VC Lab, the leading venture capital accelerator, empowers new and emerging managers worldwide to close ethical, high-performing funds in under six months. The program provides cutting-edge tools, expert mentorship, and a global network to raise more money in less time. Apply if you want to build a meaningful venture capital firm.