diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-10-05 10:01:53 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-10-05 10:01:53 -0400 |
commit | 1b841e9803e95f234e555d0b61f1bc24481a788c (patch) | |
tree | 5afa1cd783319984e9df67d1a22c81eea6fa1dc6 | |
parent | bbbaab0aa0933985b686d6e7eb7b7ac884326ae9 (diff) |
remove .lock from gitignore
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | src/commands/parent_directory.rs | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -3,5 +3,4 @@ *.log *.tmp *~ -*.lock **/*.rs.bk diff --git a/src/commands/parent_directory.rs b/src/commands/parent_directory.rs index 0b3eb67..43a24ff 100644 --- a/src/commands/parent_directory.rs +++ b/src/commands/parent_directory.rs @@ -1,5 +1,6 @@ use crate::context::JoshutoContext; use crate::error::JoshutoResult; +use crate::util::load_child::LoadChild; use super::reload; @@ -14,5 +15,6 @@ pub fn parent_directory_helper(context: &mut JoshutoContext) -> std::io::Result< pub fn parent_directory(context: &mut JoshutoContext) -> JoshutoResult<()> { parent_directory_helper(context)?; reload::soft_reload(context.tab_context_ref().get_index(), context)?; + LoadChild::load_child(context)?; Ok(()) } |