Konubinix' opinionated web of thoughts

Tree Sitter With Emacs

Fleeting

tree sitter with emacs

For instance, to have the support for yaml

M-x treesit-install-language-grammar provide the url to the repository, for instance https://github.com/tree-sitter-grammars/tree-sitter-yaml for yaml

As a rule of thumb, most languages are “officially” supported in https://github.com/tree-sitter-grammars

Emacs will build and install the .so file in ~/.emacs.d/tree-sitter/libtree-sitter-yaml.so