VSCode: .gitignore'd Packages/ are grayed out

the Packages directory is normally .gitignored, which means sources for packages i am currently editing are grayed out in the VSCode file explorer. is there a way to get VSCode to understand that there are nested git repositories in this directory? right now, i am resorting to deleting the Packages/ line from the .gitignore, and putting it back before a commit.