Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

language: Refresh diagnostic endpoints on every seek (#56003)

Kunall Banerjee4d7b2d05ea69
diff --git a/crates/language/src/buffer.rs b/crates/language/src/buffer.rs
index 1d4988b427e..084f621488a 100644
--- a/crates/language/src/buffer.rs
+++ b/crates/language/src/buffer.rs
@@ -5800,8 +5800,8 @@ impl<'a> BufferChunks<'a> {
}
highlights.captures.set_byte_range(self.range.clone());
- self.initialize_diagnostic_endpoints();
}
+ self.initialize_diagnostic_endpoints();
}
fn initialize_diagnostic_endpoints(&mut self) {