diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs index 8c51d5ebb049..61d382fdec6e 100644 --- a/helix-core/src/syntax.rs +++ b/helix-core/src/syntax.rs @@ -368,7 +368,13 @@ impl LanguageConfiguration { None } else { let language = get_language(self.grammar.as_deref().unwrap_or(&self.language_id)) - .map_err(|e| log::info!("{}", e)) + .map_err(|err| { + log::error!( + "Failed to load tree-sitter parser for language {:?}: {}", + self.language_id, + err + ) + }) .ok()?; let config = HighlightConfiguration::new( language,