Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index ae3b9392..ed03edfc 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -421,7 +421,7 @@ impl Application {
// Update the syntax language loader before setting the theme. Setting the theme will
// call `Loader::set_scopes` which must be done before the documents are re-parsed for
// the sake of locals highlighting.
- let lang_loader = helix_core::config::user_lang_loader()?;
+ let lang_loader = helix_core::config::user_lang_loader(default_config.editor.insecure)?;
self.editor.syn_loader.store(Arc::new(lang_loader));
Self::load_configured_theme(
&mut self.editor,