Skip to content

Commit

Permalink
buffer picker allow hsplit / vsplit (#1502)
Browse files Browse the repository at this point in the history
  • Loading branch information
k2d222 authored Jan 14, 2022
1 parent a2fad4f commit 85cf264
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helix-term/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3239,8 +3239,8 @@ fn buffer_picker(cx: &mut Context) {
.map(|(_, doc)| new_meta(doc))
.collect(),
BufferMeta::format,
|editor: &mut Editor, meta, _action| {
editor.switch(meta.id, Action::Replace);
|editor: &mut Editor, meta, action| {
editor.switch(meta.id, action);
},
|editor, meta| {
let doc = &editor.documents.get(&meta.id)?;
Expand Down

0 comments on commit 85cf264

Please sign in to comment.