Problem: Inside a block that is not executed, "if 0" for one, the text
of ":append", ":insert" and ":change" is read as commands: the
commands are not executed while skipping, so nothing reads the
lines up to the ".". A text line like "endif" then ends the
block. A ":source ++dryrun" has the same problem at the script
level.
Solution: Execute the three commands while skipping, like ":function",
and only read the lines up to the "." then.
related: #21257
https://github.com/vim/vim/pull/21331
(3 files)
—
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.![]()
@dkearns You said in #21257 (comment) that you had a patch for this, so I waited a few
days before opening this one. If you would rather submit your own, let me
know and I will close this PR.
—
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.![]()