mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
Add clarification to last buffer
This commit is contained in:
parent
9baf1ecc90
commit
9640ed1425
@ -1392,7 +1392,7 @@ fn switch_to_last_accessed_file(cx: &mut Context) {
|
|||||||
if let Some(alt) = alternate_file {
|
if let Some(alt) = alternate_file {
|
||||||
cx.editor.switch(alt, Action::Replace);
|
cx.editor.switch(alt, Action::Replace);
|
||||||
} else {
|
} else {
|
||||||
cx.editor.set_error("no last buffer".to_owned())
|
cx.editor.set_error("no last accessed buffer".to_owned())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user