buffer picker allow hsplit / vsplit (#1502)
This commit is contained in:
parent
a2fad4fcb0
commit
85cf2648a2
1 changed files with 2 additions and 2 deletions
|
@ -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)?;
|
||||
|
|
Loading…
Reference in a new issue