My Emacs (29.1) comes with the some tree-sitter modes:
c-ts-mode
go-ts-mode
js-ts-mode
...
I downloaded the compiled .dll and they work out of box.
However, there are some languages that tree-sitter
seems to support, but I don't know how to enable them in Emacs. For example, it supports lua, but there is no lua-ts-mode
in my Emacs, and not list-package
doesn't show it either. So where could I get lua-ts-mode
? Or the major modes of some languge simply don't exist even tree-sitter
already support them?
emacs-tree-sitter
is not the tree-sitter support that is build into Emacs 29. That github repository is an earlier approach to integrating the two things. They are quite different, and so I don't know whether thattree-sitter-langs
section has any relevance.