You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to install the grammars on Spacemacs and GNU Emacs 29.1 (build 1, aarch64-apple-darwin22.6.0, Carbon Version 169 AppKit 2299.7)
of 2023-10-02 (emacs-mac) on macOS.
Hey there, thanks for checking out the project! I'm having trouble reproducing this unfortunately but I think I have a hunch...
What's the value of treesit-language-source-alist in your Emacs? It looks like the error is originating from this line:
My guess is you have it set with a python key that has the source-dir set to 'python? Could be off base though.
Unfortunately you need to install the grammars via tree-edit so it can generate some special files used for structural editing -- happy to help though, let me know if resetting treesit-language-source-alist works!
I've never set it myself, the variable is nil and only after I run tree-edit-install-grammars-wizard, I get this error. And then the value of the variable is as follows:
Its value is (#1=(python . #1#))
After trying to set it as the example here, tree-edit-install-grammars-wizard inserts the same value to the front of the list and fails the same way. If I try to install it normally with treesit-install-language-grammar, this value doesn't get inserted to the list. So something in the code of the wizard is modifying the treesit-language-source-alist and then it's unhappy with the modification.
Trying to install the grammars on Spacemacs and GNU Emacs 29.1 (build 1, aarch64-apple-darwin22.6.0, Carbon Version 169 AppKit 2299.7)
of 2023-10-02 (emacs-mac) on macOS.
This is the error backtrace:
Is there a way to install the grammars manually?
The text was updated successfully, but these errors were encountered: