Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Make `Buffer::diff_base` available outside of tests
Antonio Scandurraad7eaca443f7
diff --git a/crates/language/src/buffer.rs b/crates/language/src/buffer.rsindex 66f8651e9de..9ceb6b32a99 100644--- a/crates/language/src/buffer.rs+++ b/crates/language/src/buffer.rs@@ -682,7 +682,6 @@ impl Buffer {task}- #[cfg(any(test, feature = "test-support"))]pub fn diff_base(&self) -> Option<&str> {self.diff_base.as_deref()}