Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-core/src/syntax.rs')
-rw-r--r--helix-core/src/syntax.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs
index 57b9e5c3..ac689eb3 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -964,7 +964,7 @@ mod test {
use super::*;
use crate::{Rope, Transaction};
- static LOADER: Lazy<Loader> = Lazy::new(|| crate::config::user_lang_loader().unwrap());
+ static LOADER: Lazy<Loader> = Lazy::new(crate::config::default_lang_loader);
#[test]
fn test_textobject_queries() {