From b1a41c4cc8c00287e60a0d847742e98636af1d2d Mon Sep 17 00:00:00 2001 From: wojciechkepka Date: Sat, 19 Jun 2021 13:27:21 +0200 Subject: [PATCH] Add `theme` to global configuration --- helix-term/src/config.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/helix-term/src/config.rs b/helix-term/src/config.rs index e5e17753..e9151fd0 100644 --- a/helix-term/src/config.rs +++ b/helix-term/src/config.rs @@ -6,12 +6,16 @@ use serde::{de::Error as SerdeError, Deserialize, Serialize}; use crate::keymap::{parse_keymaps, Keymaps}; pub struct GlobalConfig { + pub theme: Option, pub lsp_progress: bool, } impl Default for GlobalConfig { fn default() -> Self { - Self { lsp_progress: true } + Self { + lsp_progress: true, + theme: None, + } } }