Skip to content

Commit

Permalink
Print full error chain when failing to load grammar (#12744)
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasJonsson authored Feb 4, 2025
1 parent 26db541 commit 1258111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-core/src/syntax.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 1258111

Please sign in to comment.