Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript doesn't get highlighted correctly #20

Closed
flexagoon opened this issue Jul 19, 2024 · 2 comments
Closed

Typescript doesn't get highlighted correctly #20

flexagoon opened this issue Jul 19, 2024 · 2 comments

Comments

@flexagoon
Copy link

image

Most of the code is not highlighted in any way. Running :Inspect on it says "No items found". It was working fine with nvim-treesitter.

@mrcjkb
Copy link
Member

mrcjkb commented Jul 19, 2024

Hey 👋

This is because our workflow for publishing tree-sitter parsers to luarocks doesn't add dependencies to the rockspecs yet:

tree-sitter-typescript depends on tree-sitter-ecma.

I will start working on that issue soon.
For now, you can work around this by manually installing tree-sitter-ecma.
On my end, the 0.0.1 version failed to install, so I had to install the dev version.

@mrcjkb
Copy link
Member

mrcjkb commented Jul 22, 2024

Closing as completed. I've solved the issue in rocks-binaries. tree-sitter-typescript version 0.0.3 has tree-sitter-ecma as a dependency 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants