Skip to content

Upgrade tree-sitter to v0.26.9#57183

Merged
maxdeviant merged 1 commit into
mainfrom
push-xwptnvzpxnrs
May 20, 2026
Merged

Upgrade tree-sitter to v0.26.9#57183
maxdeviant merged 1 commit into
mainfrom
push-xwptnvzpxnrs

Conversation

@maxdeviant

Copy link
Copy Markdown
Member

This PR upgrades tree-sitter to v0.26.9.

We're interested in tree-sitter/tree-sitter#5605, which should fix a panic when loading certain grammars.

Closes FR-1.

Release Notes:

  • Fixed a panic when loading certain Tree-sitter grammars containing supertypes.

@maxdeviant maxdeviant self-assigned this May 19, 2026
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label May 19, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label May 19, 2026
@maxdeviant maxdeviant requested a review from maxbrunsfeld May 19, 2026 21:16
@WillLillis

Copy link
Copy Markdown

With this upgrade, you should be able to safely remove (or significantly raise) tree-sitter's match limit of 64 from here. 0.26.9 includes some perf improvements that made this feasible even for larger files. For reference, it's also been removed in Neovim without any issues thus far.

There was an issue open for this but it was closed due to inactivity: #22042

@maxdeviant

Copy link
Copy Markdown
Member Author

With this upgrade, you should be able to safely remove (or significantly raise) tree-sitter's match limit of 64 from here. 0.26.9 includes some perf improvements that made this feasible even for larger files. For reference, it's also been removed in Neovim without any issues thus far.

There was an issue open for this but it was closed due to inactivity: #22042

Thanks! That's good context to have.

We can explore doing that as a follow-up after we've landed this version bump.

@maxdeviant maxdeviant added this pull request to the merge queue May 20, 2026
Merged via the queue into main with commit bc36332 May 20, 2026
46 checks passed
@maxdeviant maxdeviant deleted the push-xwptnvzpxnrs branch May 20, 2026 10:49
TomPlanche pushed a commit to TomPlanche/zed that referenced this pull request May 20, 2026
This PR upgrades `tree-sitter` to v0.26.9.

We're interested in
tree-sitter/tree-sitter#5605, which should fix a
panic when loading certain grammars.

Closes FR-1.

Release Notes:

- Fixed a panic when loading certain Tree-sitter grammars containing
supertypes.
TomPlanche pushed a commit to TomPlanche/zed that referenced this pull request Jun 2, 2026
This PR upgrades `tree-sitter` to v0.26.9.

We're interested in
tree-sitter/tree-sitter#5605, which should fix a
panic when loading certain grammars.

Closes FR-1.

Release Notes:

- Fixed a panic when loading certain Tree-sitter grammars containing
supertypes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants