Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
G3rn0ti
on Sept 14, 2023
|
parent
|
context
|
favorite
| on:
Let's write a treesitter major mode for Emacs
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!
imaltont
on Sept 14, 2023
[–]
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.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Edit: I can confirm it works nicely for "javascript". Cool!