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

Failed to generate parser with TSInstall rescript #242

Closed
aspeddro opened this issue Mar 23, 2024 · 0 comments · Fixed by #244
Closed

Failed to generate parser with TSInstall rescript #242

aspeddro opened this issue Mar 23, 2024 · 0 comments · Fixed by #244
Labels
bug Something isn't working

Comments

@aspeddro
Copy link
Collaborator

We need update tree-sitter cli to v0.22.2.

Neovim generate the parser with tree-sitter binary installed on system, but this project are using v0.20.8

./node_modules/.bin/tree-sitter --version
tree-sitter 0.20.8 (d4c1bf7ce78051b7f4a381d1508d68928512ed5f)

Error:

nvim-treesitter[rescript]: Error during "tree-sitter generate"
Error processing rule escape_sequence

Caused by:
    regex parse error:
        u{[0-9a-fA-F]+}
          ^
    error: repetition quantifier expects a valid decimal
@aspeddro aspeddro added bug Something isn't working good first issue Good for newcomers labels Mar 23, 2024
@aspeddro aspeddro removed the good first issue Good for newcomers label Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant