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

Fix behaviour of matching when tree-sitter grammar is available #7238

Closed
wants to merge 2 commits into from

Commits on Jun 5, 2023

  1. Fix behaviour of matching when tree-sitter grammar is available

    If the current character is a valid bracket, resort to plaintext matching.
    Otherwise, use regular tree-sitter node traversal.
    alevinval committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    d0eae33 View commit details
    Browse the repository at this point in the history
  2. optimize: make sure we only resort to plaintext search on cases where…

    … we are
    
    not on top of the boundary of the node *and* we have a valid pair in the node
    start/ending bytes.
    alevinval committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    1fb75bb View commit details
    Browse the repository at this point in the history