[vim/vim] % skips parens on continued quoted lines (PR #20631)

0 views
Skip to first unread message

Barrett Ruth

unread,
Jun 24, 2026, 10:27:39 PM (5 hours ago) Jun 24
to vim/vim, Subscribed

Problem: The "%" command and bracket/text-object motions can skip the
matching paren or bracket on a line with quotes and a trailing
backslash.
Solution: Use the quote state at the search start when an odd-quote line
is continued with a backslash, instead of always treating the
search as starting in quotes.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20631

Commit Summary

  • 11c957e % skips parens on continued quoted lines

File Changes

(3 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20631@github.com>

Reply all
Reply to author
Forward
0 new messages