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.

zeta: Increase context lines to 32 (#21968)

Thorsten Ball306f1c683866
diff --git a/crates/zeta/src/zeta.rs b/crates/zeta/src/zeta.rs
index 9784653a53f..80b13011d03 100644
--- a/crates/zeta/src/zeta.rs
+++ b/crates/zeta/src/zeta.rs
@@ -798,7 +798,7 @@ fn prompt_for_excerpt(
}
fn excerpt_range_for_position(point: Point, snapshot: &BufferSnapshot) -> Range<usize> {
- const CONTEXT_LINES: u32 = 16;
+ const CONTEXT_LINES: u32 = 32;
let mut context_lines_before = CONTEXT_LINES;
let mut context_lines_after = CONTEXT_LINES;