Skip to content
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

Add support for folding imports in python #27

Merged
merged 2 commits into from
Feb 20, 2025

Conversation

skittishdev
Copy link
Contributor

(treesit-fold-range-line-comment node offset "#"))))
(import_statement . treesit-fold-range-seq)
(import_from_statement . treesit-fold-range-seq)
(future_import_statement . treesit-fold-range-seq))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parenthesis is incorrect here. 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops. Fixed. Sorry, thought it was a small enough change to do directly in the GitHub UI, and that caused the error.

@jcs090218 jcs090218 merged commit 8ea716f into emacs-tree-sitter:master Feb 20, 2025
6 checks passed
@jcs090218
Copy link
Member

Thank you!

jcs090218 added a commit to emacs-tree-sitter/ts-fold that referenced this pull request Feb 20, 2025
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.

2 participants