Skip to content

chore(text area): prepare for tree-sitter breaking changes #5965

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

TomJGooding
Copy link
Contributor

Important

DO NOT MERGE!

Temporarily install tree-sitter from GitHub to test against breaking changes before v0.25.0 is released on PyPI.

Please review the following checklist.

  • Docstrings on all new or modified functions / classes
  • Updated documentation
  • Updated CHANGELOG.md (where appropriate)

Temporarily install tree-sitter from GitHub to test against breaking
changes before v0.25.0 is released on PyPI.
Fix breaking change in tree-sitter v0.25.0 where `Query.captures` has
been moved to `QueryCursor.captures`.

Related PR: tree-sitter/py-tree-sitter#333
@TomJGooding
Copy link
Contributor Author

This apparently causes some (strange?) changes in the syntax highlighting, which is why the snapshot tests are failing:

snapshot report; https://github.com/Textualize/textual/actions/runs/16304923238/artifacts/3540275570

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant