Skip to content

Failed to generate parser with TSInstall rescript #242

Closed
@aspeddro

Description

@aspeddro

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions