diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-02 21:48:02 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-02 21:48:02 +0300 |
| commit | b751d102f158968aab681cb663d27b4c32197f62 (patch) | |
| tree | 85d03609314559df7705c2cb0ab4e37ab6d9715f /src/config/io.rs | |
| parent | 295b09ca25edbccac65401ee84fa420dd3888aad (diff) | |
feat: add preview update channel
Diffstat (limited to 'src/config/io.rs')
| -rw-r--r-- | src/config/io.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/config/io.rs b/src/config/io.rs index 2c6d78ab..1ea928a3 100644 --- a/src/config/io.rs +++ b/src/config/io.rs @@ -183,6 +183,14 @@ fn load_live_config_from_str(content: &str) -> Result<LoadedConfig, Vec<String>> ); load_live_section( table, + "update", + "update config", + &mut diagnostics, + &mut invalid_sections, + |section| config.update = section, + ); + load_live_section( + table, "ui", "ui config", &mut diagnostics, @@ -213,6 +221,14 @@ fn load_live_config_from_str(content: &str) -> Result<LoadedConfig, Vec<String>> &mut invalid_sections, |section| config.experimental = section, ); + load_live_section( + table, + "remote", + "remote config", + &mut diagnostics, + &mut invalid_sections, + |section| config.remote = section, + ); Ok(LoadedConfig { config, |
