fixes #19914.
I don't really know what condition is better to put here, but since the patch introduced this issue (#19659) is about clipboard provider, I think this is good enough?
https://github.com/vim/vim/pull/20046
(1 file)
—
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.![]()
@shaneharper any comment?
—
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.![]()
—
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.![]()
@lilydjwg pushed 1 commit.
—
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.![]()
The updated condition disables VisualNOS entirely when using the clipboard provider, but I believe these features aren't mutually exclusive - a user could run gvim with the clipboard provider and still expect VisualNOS to be used.
There is no interface for a clipboard provider to declare that it is no longer the owner.
—
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.![]()
The updated condition disables VisualNOS entirely when using the clipboard provider, but I believe these features aren't mutually exclusive - a user could run gvim with the clipboard provider and still expect VisualNOS to be used.
There is no interface for a clipboard provider to declare that it is no longer the owner.
You're right.
I can't imagine any problems introduced by the condition you used (clipmethod != CLIPMETHOD_PROVIDER).
—
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.![]()
Before writing patch 9.2.0158 I had considered an alternative fix: ensuring that clip_star.owned and/or clip_plus.owned are set to TRUE when the clipboard-provider feature is in use. With that in place, the existing condition in win_line() could have been left unchanged — no extra guard needed. I wish I'd explored that approach further; I believe the resulting code would have been neater, and #19914 would likely have been avoided.
—
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.![]()