Add theme to global configuration

This commit is contained in:
wojciechkepka 2021-06-19 13:27:21 +02:00 committed by Blaž Hrastnik
parent a2db161d5a
commit b1a41c4cc8

View file

@ -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,
}
}
}