Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #ISSUE

Release Notes:

- N/A
This commit is contained in:
Yara 🏳️‍⚧️ authored and GitHub committed 2026-04-29 10:27:47 +00:00
1 parent dc327f4f95
commit 0438bf5268
35 files changed
+72 -90

No files matched your search

@@ -2955,7 +2955,7 @@ impl ReferenceMultibuffer {
})
.collect::<Vec<_>>();
new_ranges.sort_by(|l, r| l.context.start.cmp(&r.context.start));
new_ranges.sort_by_key(|nr| nr.context.start);
self.set_excerpts(
path.unwrap(),
@@ -3899,7 +3899,7 @@ fn mutate_excerpt_ranges(
}
existing_ranges.extend(ranges_to_add);
existing_ranges.sort_by(|l, r| l.start.cmp(&r.start));
existing_ranges.sort_by_key(|r| r.start);
}
fn check_multibuffer(