Lawmakers have until Thursday night to approve a federal spending plan or risk shutting down the government.