Skip to content

Commit

Permalink
change default line preview for files
Browse files Browse the repository at this point in the history
  • Loading branch information
Feel-ix-343 committed Mar 2, 2024
1 parent 9306147 commit ea54c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vault/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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("")
Expand Down

0 comments on commit ea54c21

Please sign in to comment.