jimeh / emacs-builds

Self-contained Emacs.app builds for macOS, with native-compilation support.
https://github.com/jimeh/emacs-builds/releases
321 stars 7 forks source link

no treesit #30

Open satchel9 opened 1 month ago

satchel9 commented 1 month ago

(treesit): Cannot activate tree-sitter, because language grammar for go is unavailable (not-found): (libtree-sitter-go.so libtree-sitter-go.so.0 libtree-sitter-go.so.0.0 libtree-sitter-go.dylib libtree-sitter-go.dylib.0 libtree-sitter-go.dylib.0.0) No such file or directory

jimeh commented 1 month ago

Emacs itself doesn't actually include tree-sitter grammars. They decided to leave grammar installation up to the users, which does make sense as anyone can make a grammar and there's a few competing forks for some languages.

However have a look at treesit-auto, it has support for automatically installing grammars for a wide set of languages.