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 rozaliev committed Jun 13, 2023
1 parent 9f59c25 commit 7ecf16e
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 @@ -2689,7 +2689,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 7ecf16e

Please sign in to comment.