Problem: clipboard: clipboard register corrupted with clipboard
provider (Satoru Kitaguchi and mikoto2000 after v9.1.1972)
Solution: Only adjust clipboard register points to the unnamed register
(Foxe Chen)
fixes: #18983
fixes: #18988
closes: #19000
Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
-*options.txt* For Vim version 9.1. Last change: 2025 Dec 21
+*options.txt* For Vim version 9.1. Last change: 2025 Dec 23
VIM REFERENCE MANUAL by Bram Moolenaar
prepend, e.g.: >
set clipboard^=unnamed
< When using the GUI see |'go-A'|.
- When using the |clipboard-providers| feature, only the "unamed" and
+ When using the |clipboard-providers| feature, only the "unnamed" and
"unnamedplus" features will be recognized If compiled without the
|+clipboard| feature but compiled with the |+clipboard_provider|
feature, then they will be the only values allowed and the other
#ifdef FEAT_CLIPBOARD_PROVIDER
if (clipmethod == CLIPMETHOD_PROVIDER)
{
- if (clip_unnamed != 0)
+ if (*rp == 0 && clip_unnamed != 0)
*rp = ((clip_unnamed & CLIP_UNNAMED_PLUS)) ? '+' : '*';
return;
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2014,
/**/
2013,
/**/