Unnamed repository; edit this file 'description' to name the repository.
Preview scratch buffers in jumplist picker (#7331)
A-Walrus 2023-06-13
parent a4a8612 · commit 4d8c9a3
-rw-r--r--helix-term/src/commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index a4f4414a..b7a22c7b 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -2680,7 +2680,7 @@ fn jumplist_picker(cx: &mut Context) {
|editor, meta| {
let doc = &editor.documents.get(&meta.id)?;
let line = meta.selection.primary().cursor_line(doc.text().slice(..));
- Some((meta.path.clone()?.into(), Some((line, line))))
+ Some((meta.id.into(), Some((line, line))))
},
);
cx.push_layer(Box::new(overlaid(picker)));