mirror of
https://github.com/helix-editor/helix.git
synced 2025-01-19 13:37:06 +04:00
buffer picker allow hsplit / vsplit (#1502)
This commit is contained in:
parent
a2fad4fcb0
commit
85cf2648a2
@ -3239,8 +3239,8 @@ fn format(&self) -> Cow<str> {
|
||||
.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 New Issue
Block a user