Skip to content

Conversation

@hadronized
Copy link
Contributor

@hadronized hadronized commented Oct 19, 2025

The carried libloading::Error is useful to debug actual issues occurring on dependent projects — I had to adapt a bit of code in kak-tree-sitter to pinpoint an issue while loading grammars with the wrong symbol (I was still trying to read tree_sitter_ while the API of tree-house sets the prefix on its own), and I could have seen that right away if the {err} was present in the Display impl.

Context.

The carried `libloading::Error` is useful to debug actual issues occurring on
dependent projects — I had to adapt a bit of code in kak-tree-sitter to pinpoint
an issue while loading grammars with the wrong symbol (I was still trying to read
tree_sitter_<lang> while the API of tree-house sets the prefix on its own), and I
could have seen that right away if the {err} was present in the Display impl.
@the-mikedavis the-mikedavis merged commit 66bfcc4 into helix-editor:master Oct 22, 2025
4 checks passed
@hadronized hadronized deleted the better-grammar-error branch November 17, 2025 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants