summaryrefslogtreecommitdiff
path: root/helix-term/src/application.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index 2dfccf04..0c8de2ab 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -287,6 +287,10 @@ impl Application {
self.config.store(Arc::new(app_config));
}
}
+
+ // Update all the relevant members in the editor after updating
+ // the configuration.
+ self.editor.refresh_config();
}
fn refresh_config(&mut self) {
@@ -316,6 +320,7 @@ impl Application {
}),
);
}
+
self.config.store(Arc::new(config));
}