News for hackers. Stuff that matters.
Re:Let's write a treesitter major mode for Emacs by yougane on Thursday September 14, 2023 @08:50AM (#37508277)
Or you can just "M-x treesit-install-language-grammar" then follow the prompts.
Re:Let's write a treesitter major mode for Emacs by G3rn0ti on Thursday September 14, 2023 @08:59AM (#37508383)
I tried that but unsuccessfully. Did not get an error but also no grammar for Typescript or C/C++. Perhaps mileage varies with the language.

Edit: I can confirm it works nicely for "javascript". Cool!

Re:Let's write a treesitter major mode for Emacs by imaltont on Thursday September 14, 2023 @11:02AM (#37509972)
I have done typescript successfully. It has another install folder than the default, as the repo has tree-sitter for both tsx and typescript. C/C++ could be a similar situation. The installer should prompt you for it during the setup.