mirror of https://github.com/helix-editor/helix
fix brace styling
parent
865597b74f
commit
749c16b9e9
|
@ -330,8 +330,7 @@ fn buffer_reopen(
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(last_closed_doc_path) = cx.editor.closed_document_paths.pop()
|
if let Some(last_closed_doc_path) = cx.editor.closed_document_paths.pop() {
|
||||||
{
|
|
||||||
cx.editor.open(&last_closed_doc_path, Action::Replace)?;
|
cx.editor.open(&last_closed_doc_path, Action::Replace)?;
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in New Issue