Given a project directory my-project which projectile correctly identifies because it is a git project.
Inside my-project there is a my-module directory. It is a git submodule and therefor projectile identifies it as a project of it's own.
But I want all files inside of my-project/my-module to be considered as part of my-project.
What is the idiomatic way to configure this?
I would like a solution in dir-locals.el so it does not affect other projects.
I have tried putting this into my-project/my-module/.dir-locals.el:
((nil . ((projectile-project-root . "/p/my-project/")))) This partially works. When editing a file in the sub project projectile-project-info identifies /p/my-project as the project dir. But projectile-find-file does not show files from the sub project.