Do not derive symbol highlights if they do not fit into multi buffer (#50948)

Release Notes:

- N/A

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
Kirill Bulatov
2026-03-09 17:50:44 +02:00
committed by GitHub
parent b06c0e0773
commit d788673f1e
12 changed files with 103 additions and 206 deletions
@@ -1285,7 +1285,7 @@ fn test_resolving_anchors_after_replacing_their_excerpts(cx: &mut App) {
let mut ids = multibuffer
.excerpts_for_buffer(buffer_2.read(cx).remote_id(), cx)
.into_iter()
.map(|(id, _)| id);
.map(|(id, _, _)| id);
(ids.next().unwrap(), ids.next().unwrap())
});
let snapshot_2 = multibuffer.read(cx).snapshot(cx);