Tree sitter can give us faster, more accurate bracket highlight info. By finding the beginning or end of a syntax node, we can jump to a spot we can reasonably assume is near a bracket and search from there. This will also skip brackets that are in comments in supported languages.
Description
Tree sitter can give us faster, more accurate bracket highlight info. By finding the beginning or end of a syntax node, we can jump to a spot we can reasonably assume is near a bracket and search from there. This will also skip brackets that are in comments in supported languages.
Alternatives Considered
No response
Additional Context
Helix has similar support: https://github.com/helix-editor/helix/issues/3584
Screenshots
No response