If you are able to make TS crash reproducibly with any class code, please post it here so we can investigate further. This is very interesting!
Will do - I’m hoping it’s just bc I’m using old code.
Make sure you are running tree-sitter version 0.20.7. I suspect this release fixed the segfaults
Hi @dyalan.
Thanks for you long and detailed notes about setting the beast up on emacs. Thanks to this I’ve running tree-sitter on my archlinux.
Just to add something, as for now this line is not recognized as correct (at least for my box)
(add-to-list 'tree-sitter-major-mode-language-alist '(sclang-mode . supercollider))
Instead of this, I’ve added:
(after! tree-sitter
(add-to-list 'tree-sitter-major-mode-language-alist
'(sclang-mode . supercollider)))
(use-package! tree-sitter-langs
:after tree-sitter
:config
;; Ensure SuperCollider grammar is loaded
(tree-sitter-require 'supercollider))
Did you make some new functionality for sclang in emacs with tree-siiter? Would you give me some clue, what it is good for?
best
2 Likes