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:
1 parent
b06c0e0773
commit
d788673f1e
12 files changed
+103
-206
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user