Problem: Copying to clipboard register broken with 'go-P'
(Coacher)
Solution: Verify that clip_plus is available (Foxe Chen).
fixes: #19072
closes: #19097
Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
// we need to paste it somewhere while we still own the selection.
// Only do this when the clipboard is already owned. Don't want to grab
// the selection when hitting ESC.
- if (clip_star.available && clip_star.owned)
+ if ((clip_star.available && clip_star.owned)
+ || (clip_plus.available && clip_plus.owned))
clip_auto_select();
# if defined(FEAT_EVAL)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2057,
/**/
2056,
/**/