Allow styling of invalid diagnostics
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
parent
8d5e3fb159
commit
2664dad2bc
@@ -394,7 +394,7 @@ impl<'a> BlockMapWriter<'a> {
|
||||
let id = BlockId(self.0.next_block_id.fetch_add(1, SeqCst));
|
||||
ids.push(id);
|
||||
|
||||
let position = buffer.anchor_before(block.position);
|
||||
let position = buffer.anchor_after(block.position);
|
||||
let point = position.to_point(buffer);
|
||||
let start_row = wrap_snapshot
|
||||
.from_point(Point::new(point.row, 0), Bias::Left)
|
||||
|
||||
Reference in New Issue
Block a user