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

Respect injections when using the syntax tree's root node #9424

Merged
merged 3 commits into from
Jan 28, 2024

Commits on Jan 25, 2024

  1. Use injection syntax trees for bracket matching

    Previously we used the root syntax tree for bracket matching. We can use
    the new functionality in `Syntax` for finding the correct syntax tree
    for a given byte range though so we use the correct syntax tree within
    injections. This improves bracket matching behavior within HTML
    injections like script or style tags for example.
    the-mikedavis committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    e2f8771 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    397c51f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0d8d8d6 View commit details
    Browse the repository at this point in the history