History

fix

Cole Miller committed 7 months ago

Commit f88b9261 parent ed97a041 file · +1 −0Browse files

Unified · Split

crates/diagnostics/src/diagnostics.rs+1−0
@@ -624,6 +624,7 @@ impl ProjectDiagnosticsEditor { · 623 unmodified lines
624624 });
625625 })
626626 }
627+ let buffer_snapshot = buffer.read(cx).snapshot();
627628 let excerpt_ranges: Vec<_> = excerpt_ranges
628629 .into_iter()
629630 .map(|range| ExcerptRange {