From 59c59deb464d347be796735b2d15f5a19a38bf3f Mon Sep 17 00:00:00 2001 From: wojciechkepka Date: Sun, 20 Jun 2021 04:17:43 +0200 Subject: Add missing `theme` to toml config --- helix-term/src/config.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, lsp_progress: Option, keys: Option>>, } @@ -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 -- cgit v1.2.3-70-g09d2