Search not finding

I have a PHP/Laravel project with language files in the default “/lang/{language}” folders. Those contain php files with translation terms.

If I open VSCode with the project, it finds the terms:

However, in Cursor, global search does not find the second and third result; only the first. It’s as if the /lang folder were somehow blacklisted.

(I can only upload one media file as a new user)

I’ve quadruple checked every single setting that could be causing this but am at my wit’s end, to the point that I may have to switch back to VSCode. What could be causing this? Is there a search index I can try to rebuild?