patch 9.1.1704: Cannot determine non-X11/Wayland clipmethods
Problem: Cannot determine non-X11/Wayland clipmethods Solution: Add the "gui" value to the 'clipmethod' option (Foxe Chen) related: #18006 closes: #18067 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
1f51bbc3b9
commit
528196c8a9
@ -637,11 +637,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,other", (char_u *)0L}
|
||||
# elif defined(VMS)
|
||||
{(char_u *)"x11", (char_u *)0L}
|
||||
{(char_u *)"x11,gui,other", (char_u *)0L}
|
||||
# else
|
||||
{(char_u *)"", (char_u *)0L}
|
||||
{(char_u *)"gui,other", (char_u *)0L}
|
||||
# endif
|
||||
#else
|
||||
(char_u *)NULL, PV_NONE, NULL, NULL,
|
||||
|
||||
Reference in New Issue
Block a user