4 ms·
Or you can just "M-x treesit-install-language-grammar" then follow the prompts.
by yougane 3y ago
Or you can just "M-x treesit-install-language-grammar" then follow the prompts.
- G3rn0ti 3y agoI 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!
- imaltont 3y agoI 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.