mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 15:10:34 +01:00
1b93c47b17
## Summary This PR reworks the API for `match_strings` and the like to instead take a struct. This makes this much more readable in my subjective opinion, as one no longer passes a number and bool and some default, but rather a strongly typed struct. Said struct can still be defaulted, yet one has to only pass 1 argument in that case as opposed to 4. ## Self-review - [X] I've reviewed my diff for quality, security, reliability, and performance. - [ ] UI changes follow the [checklist](https://zed.dev/docs/development/ui-checklist). - [X] Tests cover the new or changed behavior. Release Notes: - N/A