-
-
Notifications
You must be signed in to change notification settings - Fork 6k
patch 9.1.1857 (Missing clipboard provider support) appears to break backward compatibility #18600
Description
Steps to reproduce
On macOS (26.0.1), I built from the master branch (containing patch 9.1.1857) with the default.
make
make install
I can confirm the +clipboard and +clipboard_provider features are included.
With all defaults (an empty vimrc), if I do :registers, I don't see the * or + register and am given a W23 error if attempting to use either register.
:echo v:clipmethodshows none;:set clipmethodshows gui,other
Previously, patch 9.1.1856 or earlier, if I followed the same build instruction, I could see the * register and was able to use "*y and "*p to access the clipboard.
With patch 9.1.1857, I can use the * register as before, if I explicitly disable-clipboard-provider when building:
./configure --disable-clipboard-provider
On my Linux box running Fedora 42, I tried the same thing but with wayland support.
./configure --with-features=normal --with-wayland --enable-terminal
I can confirm that +clipboard, +clipboard_provider, +wayland, +wayland_clipboard and +wayland_focus_steal are all included. I even installed wl-copy and wl-paste in case they're needed.
With all defaults (an empty vimrc), if I do :registers, I don't see the * or + register and am given a W23 error if attempting to use either register.
:echo v:clipmethodshows none;:set clipmethodshows wayland, x11,gui,other
Please correct me if I'm mistaken but it seems to me that patch 9.1.1857 at least breaks the default behaviour as of patch 9.1.1856 on macOS.
Expected behaviour
The introduction of clipboard_provider should be backward compatible.
Version of Vim
9.1.1857
Environment
OS: macOS 26.0.1 / Fedora Linux 42
Shell: bash 5.2.37
Terminal: doesn't seem to matter as this behaviour can always be reproduced. Terminals tested:
macOS stock Terminal app, ghostty, kitty, foot.