diff options
author | Mathis Brossier | 2022-01-14 06:32:24 +0000 |
---|---|---|
committer | GitHub | 2022-01-14 06:32:24 +0000 |
commit | 85cf2648a2a5a73fb603244a0abf7de2ea8a0849 (patch) | |
tree | 4a43e7cc0ed5a1a6cc22194c09ffa6bd440898dc /helix-term/src | |
parent | a2fad4fcb0c4a0547a86cb18820f2c8612991a1d (diff) |
buffer picker allow hsplit / vsplit (#1502)
Diffstat (limited to 'helix-term/src')
-rw-r--r-- | helix-term/src/commands.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 5c26a5b2..71ac8f09 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -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)?; |