-
-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Language’s ABI is too new" error in tree-sitter #278
Comments
I realized this could be an upstream nixpkgs issue for cpp specifically. tree-sitter is working for me in nix-mode. Should I start with checking the drv files of |
found out the reason: emacs-tree-sitter/elisp-tree-sitter#247 |
It seems that pinning tree-sitter-cpp to use 0.19 toolchain is difficult because the generated code is checked in: tree-sitter/tree-sitter-cpp@88ad63b. The build process of tree-sitter grammars seems pretty messy in general. |
@twhththt I realize this is closed, but the issue appears to persist. Is the "solution" today to simply not use tree-sitter then? |
@necrophcodr I ran into the same issue. After searching around I think the simplist solution Here is the commit I made updating my config: links I found useful: https://git.savannah.gnu.org/cgit/emacs.git/tree/admin/notes/tree-sitter/starter-guide?h=feature/tree-sitter |
I added the following to my home-manager configuration
and init.el
However, when I enable tree-sitter-mode in a CPP file, I got this error
Looks like some of the packages are not built with the same toolchain. Any idea on how to solve this problem?
The text was updated successfully, but these errors were encountered: