aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorwojciechkepka2021-06-19 11:27:21 +0000
committerBlaž Hrastnik2021-06-19 15:07:13 +0000
commitb1a41c4cc8c00287e60a0d847742e98636af1d2d (patch)
tree35d1189802f63771e61e1d3f65f5606cd5897b46 /helix-term/src
parenta2db161d5a38172c09469262d432f37e10ce10ce (diff)
Add `theme` to global configuration
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/config.rs6
1 files changed, 5 insertions, 1 deletions
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<String>,
pub lsp_progress: bool,
}
impl Default for GlobalConfig {
fn default() -> Self {
- Self { lsp_progress: true }
+ Self {
+ lsp_progress: true,
+ theme: None,
+ }
}
}