alexmurray / emacs-snap

GNU Emacs in a snap
https://snapcraft.io/emacs
71 stars 13 forks source link

Tree-sitter not loading #86

Closed d-hr closed 4 months ago

d-hr commented 4 months ago

Hi,

tree-sitter does not load in emacs 29.2 (across all channels) since the February 27th update of the snap: ■ Warning (treesit): Cannot activate tree-sitter, because language grammar for rust is unavailable (not-found): (libtree-sitter-rust libtree-sitter-rust.0 libtree-sitter-rust.0.0 libtree-sitter-rust.so libtree-sitter-rust.so.0 libtree-sitter-rust.so.0.0) No such file or directory According to this reddit entry, the snap needs to be build with these libraries.

Thank's for maintaining the snap.

Best, David

alexmurray commented 4 months ago

It is built with tree sitter support already. Can you try reinstalling the tree sitter grammars?

d-hr commented 4 months ago

Thanks, this solved the error. I did not expect that the solution would be this easy 😅

alexmurray commented 4 months ago

No worries 😁