When I first developed julia-ts-mode
, I did not find any way to manage the grammar version in Emacs. The first time I saw this problem was a C grammar update that completely broke C development in Emacs. At that time, someone in the mailing list said that Emacs did not have a way to create this dependency and the user should verify it. I have no idea if things have changed.
I am using Spacemacs and had Emacs crash every time it tried to open a .jl file two days ago. For me the solution was to delete the self compiled “.so” file of the tree sitter grammar (I think it was in “~/.emacs.d/tree-sitter/”) and rely on the one provided by tree-sitter-langs-install-latest-grammar
. Because I am on a rolling release distro, I guess some system dependency changed, gdb
said it was the C or C++ standard library iirc.
Sorry that I cannot be more specific I cannot find the file in my trash any more and I am not 100% sure what packages spacemacs uses in the background.