tree-sitter-scala icon indicating copy to clipboard operation
tree-sitter-scala copied to clipboard

Update to tree-sitter 0.22.x?

Open eed3si9n opened this issue 1 year ago • 0 comments

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

  • https://github.com/tree-sitter/tree-sitter-typescript (0.20.6)
  • https://github.com/tree-sitter/tree-sitter-javascript (0.20.4)
  • https://github.com/tree-sitter/tree-sitter-rust (0.20.4)
  • https://github.com/tree-sitter/tree-sitter-python (0.21.0)
  • https://github.com/tree-sitter/tree-sitter-c (0.21.0)

eed3si9n avatar Mar 11 '24 00:03 eed3si9n