aboutsummaryrefslogtreecommitdiff
path: root/src/config/io.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/io.rs')
-rw-r--r--src/config/io.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/config/io.rs b/src/config/io.rs
index 3b483ba6..fe415d1c 100644
--- a/src/config/io.rs
+++ b/src/config/io.rs
@@ -191,6 +191,14 @@ fn load_live_config_from_str(content: &str) -> Result<LoadedConfig, Vec<String>>
);
load_live_section(
table,
+ "worktrees",
+ "worktree config",
+ &mut diagnostics,
+ &mut invalid_sections,
+ |section| config.worktrees = section,
+ );
+ load_live_section(
+ table,
"experimental",
"experimental config",
&mut diagnostics,