From 794576a5b0b9a7b9e59275acd47448525de1aac1 Mon Sep 17 00:00:00 2001 From: Bjorn Ove Hay Andersen Date: Wed, 15 Jun 2022 19:29:58 +0200 Subject: Update auto-pairs and idle-timeout when the config is reloaded (#2736) --- helix-term/src/application.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'helix-term/src') 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)); } -- cgit v1.2.3-70-g09d2