-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
g:clipboard ineffective after has('unnamedplus') #8017
Comments
Yes, |
@bfredl is this a low complexity issue? I want to give this a shot if it is. Also, is every |
Yes, should be relatively low complexity. Actually could start with supporting manual reconfiguration: there should be a function |
Or we simply document that |
@mhinz And what is this "all new code" that would need be written? You can already call I agree it is not a prioritized issue, but it seems weird to have already the 90% code written in the way needed to support dynamic reconfiguration, and then dissuade someone to fix the remaining 10%. |
It was merely a suggestion. And changed code is new code as well. ;-) Everyone who wants to tackle this is free to do so. Let's label this. |
True, but if your claim is irrefutable it wasn't very interesting in the first place :) I think it is "simpler" in the long run to change existing code to remove an unnecessary restriction, even if the edge case is rare, rather than "simply" keep the old check and add documentation when the code behaves as expected or not. This is different situation from where significant new code is added only for the edge case, which indeed has a complexity cost that must be warranted by its use cases. |
@bfredl your suggestion makes sense. I'm gonna go ahead and work on fixing this issue. |
#10161 supports reloading clipboard. Doc for this is in
|
[Clipboard providers are only loaded once by Neovim](neovim/neovim#8017), causing the previous code to use an obsolete channel id when reconnecting to a remote nvim instance.
nvim --version
:N/A since Vim doesn't support clipboard providers
Fedora 26
tmux-256color
Good behavior
generates pids, this is the correct behavior
Bad behavior
does not generate pids. It seems that looking at
has('unnamedplus')
causes the setting ofg:clipboard
to be ineffectiveMore good behavior
so it depends on the order.
The text was updated successfully, but these errors were encountered: