emacs-builds icon indicating copy to clipboard operation
emacs-builds copied to clipboard

no treesit

Open satchel9 opened this issue 1 year ago • 1 comments

(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

satchel9 avatar May 23 '24 08:05 satchel9

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.

jimeh avatar May 23 '24 19:05 jimeh