patch 9.1.1485: missing Wayland clipboard support
Problem: missing Wayland clipboard support
Solution: make it work (Foxe Chen)
fixes: #5157
closes: #17097
Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index d6fb641..7a097be 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -1,4 +1,4 @@
-*various.txt* For Vim version 9.1. Last change: 2025 Jun 10
+*various.txt* For Vim version 9.1. Last change: 2025 Jun 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -524,6 +524,8 @@
T *+visualextra* extra Visual mode commands |blockwise-operators|
T *+vreplace* |gR| and |gr|
*+vtp* on MS-Windows console: support for 'termguicolors'
+N *+wayland* Unix only: support for the Wayland protocol.
+N *+wayland_clipboard* Unix only: support for Wayland selections/clipboard.
T *+wildignore* |'wildignore'| Always enabled since 9.0.0278
T *+wildmenu* |'wildmenu'| Always enabled since 9.0.0279
T *+windows* more than one window; Always enabled since 8.0.1118.
@@ -791,7 +793,15 @@
was used for the previous execution of this command.
If the value was never specified, then it uses the
value of $DISPLAY environment variable as it was when
- Vim was started.
+ Vim was started. This will also update |v:clipmethod|.
+ {only available when compiled with the |+xterm_clipboard|
+ feature}
+
+ *:clipreset* *:clip*
+:clip[reset] Attempts to choose a new method for accessing the
+ clipboard, using the 'clipmethod' option. This is
+ useful when the current method has become unavailable,
+ and you want to try using another method.
{only available when compiled with the |+clipboard|
feature}