This PR changes it so we only create a snapshot and get the syntax tree for a buffer if we didn't detect that auto_close is enabled. <img width="1205" alt="Screenshot 2025-05-16 at 21 10 28" src="https://github.com/user-attachments/assets/1ada445f-77bc-4c7c-bffe-953f34ee5384" /> Release Notes: - Improved project search performance