Skip to content

Update to tree-sitter 0.22.x? #384

Closed
@eed3si9n

Description

@eed3si9n

We're behind on the tree-sitter version, so we should consider bumping the version up for code gen and testing purpose.

breaking changes in 0.21.0

https://github.com/tree-sitter/tree-sitter/releases/tag/v0.21.0

  • Remove the apply-all-captures flag, make last-wins precedence the default

    NOTE: This change might cause breakage in your grammar's highlight tests.
    Just flip the order around of the relevant queries, and keep in mind that the
    last query that matches will win.

The highlighting became last-wins in 0.21.0.

other parsers

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions