diff options
author | wojciechkepka | 2021-06-20 02:17:43 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-06-20 04:05:08 +0000 |
commit | 59c59deb464d347be796735b2d15f5a19a38bf3f (patch) | |
tree | 8b27b4a202ca4992bd80e2404650dca00cf1abea /helix-term/src | |
parent | 29f77b9c5fd209c28d490031e24811b030fdd9e3 (diff) |
Add missing `theme` to toml config
Diffstat (limited to 'helix-term/src')
-rw-r--r-- | helix-term/src/config.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-term/src/config.rs b/helix-term/src/config.rs index 7021c06c..2c95fae3 100644 --- a/helix-term/src/config.rs +++ b/helix-term/src/config.rs @@ -28,6 +28,7 @@ pub struct Config { #[derive(Serialize, Deserialize)] #[serde(rename_all = "kebab-case")] struct TomlConfig { + theme: Option<String>, lsp_progress: Option<bool>, keys: Option<HashMap<String, HashMap<String, String>>>, } @@ -41,7 +42,7 @@ impl<'de> Deserialize<'de> for Config { Ok(Self { global: GlobalConfig { lsp_progress: config.lsp_progress.unwrap_or(true), - theme: None, + theme: config.theme, }, keymaps: config .keys |