From 5d85b2e994549a172fe7269f0d9e5976b6e8059d Mon Sep 17 00:00:00 2001 From: Niklas Jonsson Date: Fri, 31 Jan 2025 21:25:58 +0100 Subject: [PATCH] Print full error chain when failing to load grammar --- 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 852a975277db..ce5481a12396 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 )