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

Select subtree within injections in :tree-sitter-subtree #9309

Merged
merged 1 commit into from
Jan 15, 2024

Commits on Jan 10, 2024

  1. Select subtree within injections in :tree-sitter-subtree

    `:tree-sitter-subtree` could previously only print subtrees of nodes
    in the root injection layer. We can improve on that by finding the layer
    that contains the given byte range and printing the subtree within that
    layer. That gives more useful results when a selection is within an
    injection layer.
    the-mikedavis committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    3b75044 View commit details
    Browse the repository at this point in the history