+1 to this feature request!
my use case is having a repository with an Astro project that i have markdown files for blog posts.
it would be great to be able to create and edit those markdown files in Obsidian and then just go to VS Code to push it to the repo, while ignoring the node_modules folder entirely and not loosing any performance.
i already tried multiple regex to exclude paths with “node_modules” but none worked, Obsidian still slowed down.