@@ -3239,8 +3239,8 @@ fn buffer_picker(cx: &mut Context) {
32393239 .map(|(_, doc)| new_meta(doc))
32403240 .collect(),
32413241 BufferMeta::format,
3242− |editor: &mut Editor, meta, _action| {
3243− editor.switch(meta.id, Action::Replace);
3242+ |editor: &mut Editor, meta, action| {
3243+ editor.switch(meta.id, action);
32443244 },
32453245 |editor, meta| {
32463246 let doc = &editor.documents.get(&meta.id)?;