Add `theme` to global configuration

imgbot
wojciechkepka 4 years ago committed by Blaž Hrastnik
parent a2db161d5a
commit b1a41c4cc8

@ -6,12 +6,16 @@ use serde::{de::Error as SerdeError, Deserialize, Serialize};
use crate::keymap::{parse_keymaps, Keymaps}; use crate::keymap::{parse_keymaps, Keymaps};
pub struct GlobalConfig { pub struct GlobalConfig {
pub theme: Option<String>,
pub lsp_progress: bool, pub lsp_progress: bool,
} }
impl Default for GlobalConfig { impl Default for GlobalConfig {
fn default() -> Self { fn default() -> Self {
Self { lsp_progress: true } Self {
lsp_progress: true,
theme: None,
}
} }
} }

Loading…
Cancel
Save