on master help sign in
Add `theme` to global configuration
commitb1a41c4cc8c00287e60a0d847742e98636af1d2d authorwojciechkepka <wojtek.kepka@protonmail.com> dateSat 19 Jun 2021, 13:27 (5 years ago) parenta2db161
1 file changed+5−1
helix-term/src/config.rs+5−1
helix-term/src/config.rs+5−1
@@ -6,12 +6,16 @@ use serde::{de::Error as SerdeError, Deserialize, Serialize};
66use crate::keymap::{parse_keymaps, Keymaps};
77
88pub struct GlobalConfig {
9+ pub theme: Option<String>,
910 pub lsp_progress: bool,
1011}
1112
1213impl Default for GlobalConfig {
1314 fn default() -> Self {
14− Self { lsp_progress: true }
15+ Self {
16+ lsp_progress: true,
17+ theme: None,
18+ }
1519 }
1620}
1721