aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorA-Walrus2023-06-13 14:05:01 +0000
committerGitHub2023-06-13 14:05:01 +0000
commit4d8c9a394ebfde3d1e0015f9632499f44ca28c57 (patch)
tree02d4b61800212c987b306beec08cf905f2038335 /helix-term
parenta4a86120e8f46eccdb318828069c7c439bfb876f (diff)
Preview scratch buffers in jumplist picker (#7331)
Diffstat (limited to 'helix-term')
-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)));