on master help sign in
Add `theme` to global configuration
b1a41c4wojciechkepka
helix-term/src/config.rs+5−1
@@ -6,12 +6,16 @@ use serde::{de::Error as SerdeError, Deserialize, Serialize};
6use crate::keymap::{parse_keymaps, Keymaps};
6use crate::keymap::{parse_keymaps, Keymaps};
7
7
8pub struct GlobalConfig {
8pub struct GlobalConfig {
9+ pub theme: Option<String>,
9 pub lsp_progress: bool,
10 pub lsp_progress: bool,
10}
11}
11
12
12impl Default for GlobalConfig {
13impl Default for GlobalConfig {
13 fn default() -> Self {
14 fn default() -> Self {
15+ Self {
14− Self { lsp_progress: true }
16+ lsp_progress: true,
17+ theme: None,
18+ }
15 }
19 }
16}
20}
17
21