Add `theme` to global configuration

pull/318/head
wojciechkepka 2021-06-19 13:27:21 +02:00 committed by Blaž Hrastnik
parent a2db161d5a
commit b1a41c4cc8
1 changed files with 5 additions and 1 deletions

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