patch 9.1.0868: the warning about missing clipboard can be improved

Problem:  the warning about missing clipboard can be improved
          (after v9.1.0852)
Solution: use different warnings depending on whether or not clipboard
          support is included in Vim, update related documentation

Improve the Warnings about missing clipboard registers

- Make it translatable
- Use a different warning, when clipboard support was not compiled in
- add a reference to :h W24
- explain in more detail the error message

closes: #16069

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2024-11-17 16:02:41 +01:00
parent deda23f850
commit 8b94afc207
6 changed files with 31 additions and 6 deletions

View File

@ -1,4 +1,4 @@
*gui.txt* For Vim version 9.1. Last change: 2024 Nov 07
*gui.txt* For Vim version 9.1. Last change: 2024 Nov 17
VIM REFERENCE MANUAL by Bram Moolenaar
@ -474,7 +474,7 @@ When the "unnamed" string is included in the 'clipboard' option, the unnamed
register is the same as the "* register. Thus you can yank to and paste the
selection without prepending "* to commands.
See also |W23|.
See also |W23| and |W24|.
==============================================================================
5. Menus *menus*