diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index 8dbd0d0fcbaa2..5afac01e4b16a 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -400,7 +400,6 @@ impl Application { self.syn_loader .store(Arc::new(syntax::Loader::new(syntax_config))); - self.editor.syn_loader = self.syn_loader.clone(); for document in self.editor.documents.values_mut() { document.detect_language(self.syn_loader.clone()); let diagnostics = Editor::doc_diagnostics(