Skip to content

Commit

Permalink
Preview scratch buffers in jumplist picker (helix-editor#7331)
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Walrus authored and Schuyler Mortimer committed Jul 10, 2024
1 parent 65ffe74 commit 7aeb95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-term/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2683,7 +2683,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)));
Expand Down

0 comments on commit 7aeb95b

Please sign in to comment.