Unnamed repository; edit this file 'description' to name the repository.
Print full error chain when failing to load grammar (#12744)
Niklas Wallgren 2025-02-04
parent 26db541 · commit 1258111
-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 3f1853b0..7c50a579 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -756,7 +756,7 @@ impl LanguageConfiguration {
let language = get_language(self.grammar.as_deref().unwrap_or(&self.language_id))
.map_err(|err| {
log::error!(
- "Failed to load tree-sitter parser for language {:?}: {}",
+ "Failed to load tree-sitter parser for language {:?}: {:#}",
self.language_id,
err
)