Projectile does not treat a non-git repo as a proper root for a project
What did you expect to happen?
SPC, p, f should not have asked what project to go to. It should have just shown a list of files for that directory and all subdirectories.
Steps to reproduce
Open Doom Emacs
Use spc+. to search for a file in a future project without a git repo or a .projectile file
Once opened that file, use SPC f a to add project root to list.
Close Emacs and reopen project with SPC SPC
Use SPC, p, f, it asks for a list of projects as if it is not in one.
It does work properly if a project has a git repo. In fact projectile will ignore the project set root and use the git repo root if it is in a subdirectory of that git repo.
I think this is a known problem with Projectile, probably Doom is not to blame here. I thought about checking the Projectile repository, sometimes the issue is upstream.
Sorry to tag you like this; was not sure of how else to find out this information. Is there a public branch of the work to replace Projectile with project.el that I can test or contribute to?
For subprojects in a git repo or projects without a git repo Doom Emacs is essentially broken for me.