From 125811139425024af58c8fc0adf00aee6a2f45ad Mon Sep 17 00:00:00 2001 From: Niklas Wallgren Date: Tue, 4 Feb 2025 15:18:54 +0100 Subject: [PATCH] Print full error chain when failing to load grammar (#12744) --- helix-core/src/syntax.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs index 3f1853b01..7c50a5797 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 )