From ea54c2125e67ba8a68434111a372972147e29320 Mon Sep 17 00:00:00 2001 From: Felix Zeller Date: Sat, 2 Mar 2024 01:06:54 -0500 Subject: [PATCH] change default line preview for files --- src/vault/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vault/mod.rs b/src/vault/mod.rs index 95e74c0a..a524f013 100644 --- a/src/vault/mod.rs +++ b/src/vault/mod.rs @@ -371,7 +371,7 @@ impl Vault { Referenceable::File(_, _) => { let range = referenceable.get_range()?; Some( - (range.start.line..=range.end.line + 10) + (range.start.line..=range.end.line + 13) .filter_map(|ln| self.select_line(referenceable.get_path(), ln as isize)) // flatten those options! .map(String::from_iter) .join("")