Skip to content

make matching brace work when cursor not at bracket#21792

Open
bend-n wants to merge 2 commits intorust-lang:masterfrom
bend-n:make-matching-brace-almost-always-proc
Open

make matching brace work when cursor not at bracket#21792
bend-n wants to merge 2 commits intorust-lang:masterfrom
bend-n:make-matching-brace-almost-always-proc

Conversation

@bend-n
Copy link

@bend-n bend-n commented Mar 10, 2026

by jumping to the parents enclosing bracket.

see #t-compiler/rust-analyzer > experimental/matching braces when not on a brace @ 💬

this would make the behavior match vscodes go to bracket command.

behavior pictured:

2026-03-10.17-53-48.mp4

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants