Unified · Split
| @@ -717,8 +717,9 @@ async fn location_links_from_lsp( · 716 unmodified lines | ||
| 717 | 717 | })? |
| 718 | 718 | .await?; |
| 719 | 719 | |
| 720 | − buffer.update(&mut cx, |origin_buffer, cx| { | |
| 720 | + cx.update(|cx| { | |
| 721 | 721 | let origin_location = origin_range.map(|origin_range| { |
| 722 | + let origin_buffer = buffer.read(cx); | |
| 722 | 723 | let origin_start = |
| 723 | 724 | origin_buffer.clip_point_utf16(point_from_lsp(origin_range.start), Bias::Left); |
| 724 | 725 | let origin_end = |