patch 9.1.1652: cannot determine non-X11/Wayland clipmethods
Problem: Cannot determine non-X11/Wayland clipmethods Solution: Add the "gui" value to the 'clipmethod' option (Foxe Chen) closes: #18006 Signed-off-by: Foxe Chen <chen.foxe@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
96b2154b73
commit
3e152c76ad
@ -634,11 +634,11 @@ static struct vimoption options[] =
|
||||
#ifdef FEAT_CLIPBOARD
|
||||
(char_u *)&p_cpm, PV_NONE, did_set_clipmethod, expand_set_clipmethod,
|
||||
# ifdef UNIX
|
||||
{(char_u *)"wayland,x11", (char_u *)0L}
|
||||
{(char_u *)"wayland,x11,gui", (char_u *)0L}
|
||||
# elif defined(VMS)
|
||||
{(char_u *)"x11", (char_u *)0L}
|
||||
{(char_u *)"x11,gui", (char_u *)0L}
|
||||
# else
|
||||
{(char_u *)"", (char_u *)0L}
|
||||
{(char_u *)"gui", (char_u *)0L}
|
||||
# endif
|
||||
#else
|
||||
(char_u *)NULL, PV_NONE, NULL, NULL,
|
||||
|
||||
Reference in New Issue
Block a user