Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/src/commands/typed.rs')
-rw-r--r--helix-term/src/commands/typed.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs
index cf9f8b8c..8b542eb1 100644
--- a/helix-term/src/commands/typed.rs
+++ b/helix-term/src/commands/typed.rs
@@ -1051,6 +1051,7 @@ fn theme(cx: &mut compositor::Context, args: Args, event: PromptEvent) -> anyhow
bail!("Unsupported theme: theme requires true color support");
}
cx.editor.set_theme(theme);
+ cx.editor.config_events.0.send(ConfigEvent::ThemeChanged)?;
} else {
let name = cx.editor.theme.name().to_string();