-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Add glob support for custom file type language #12043
Add glob support for custom file type language #12043
Conversation
self: &Arc<Self>, | ||
path: &Path, | ||
content: Option<&Rope>, | ||
user_file_types: Option<&HashMap<Arc<str>, Vec<String>>>, | ||
user_file_types: Option<&HashMap<Arc<str>, GlobSet>>, | ||
) -> impl Future<Output = Result<Arc<Language>>> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your first contribution! This looks good to me; once you fix up the formatting (per https://github.com/zed-industries/zed/actions/runs/9151859199/job/25166477766?pr=12043), I think we're gonna be in a good spot to merge this.
Release Notes:
file_types
can now be written like this: