do you have a .cursorindexignore file or .cursorignore file?
To override what is ignored by .gitignore for indexing in Cursor, you can use the .cursorignore and .cursorindexingignore files. Cursor respects ignore patterns in .gitignore, .cursorignore, and .cursorindexingignore. If you want to include a file or directory that would otherwise be ignored (for example, by .gitignore), you can add it to your .cursorignore file with a ! prefix.
Note that in certain cases this still does not result in the files being indexed.