Make block insertion work in simple cases

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Max Brunsfeld 2021-11-12 15:02:08 -08:00
parent 2e61a586b6
commit c278503166
2 changed files with 229 additions and 31 deletions

View file

@ -55,6 +55,7 @@ impl DisplayMap {
let (wraps_snapshot, _) = self
.wrap_map
.update(cx, |map, cx| map.sync(tabs_snapshot.clone(), edits, cx));
DisplayMapSnapshot {
buffer_snapshot: self.buffer.read(cx).snapshot(),
folds_snapshot,