Skip to content

Commit

Permalink
Add theme to global configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vv9k committed Jun 19, 2021
1 parent 06ce71d commit 24b557f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion helix-term/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@ use crate::keymap::Keymaps;

#[derive(Debug, PartialEq, Deserialize)]
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,
}
}
}

Expand Down

0 comments on commit 24b557f

Please sign in to comment.