Skip to content

Add support for nested alternates #3048

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lukesandberg
Copy link

This adds support for nesting alternates.

e.g. **/{node_modules/**/*/{ts,js},crates/**/*.{rs,toml}} would select all ts/js files found under node_modules and all rs/toml files found under crates in a single glob pattern.

…},crates/**/*.{rs,toml}`

Obviously there are other ways to write such a pattern but this seems easy to support since the only limitation was in the parser.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant