Disable gtk clipboard by default as it does not support PRIMARY
This commit is contained in:
parent
b88159630d
commit
43755c8f24
@ -4,7 +4,7 @@ if !has('nvim') || exists('g:GuiLoaded')
|
|||||||
endif
|
endif
|
||||||
let g:GuiLoaded = 1
|
let g:GuiLoaded = 1
|
||||||
|
|
||||||
if !exists('g:GuiExternalClipboard')
|
if exists('g:GuiInternalClipboard')
|
||||||
function! provider#clipboard#Call(method, args) abort
|
function! provider#clipboard#Call(method, args) abort
|
||||||
if a:method == 'get'
|
if a:method == 'get'
|
||||||
return [rpcrequest(1, 'Gui', 'Clipboard', 'Get'), 'v']
|
return [rpcrequest(1, 'Gui', 'Clipboard', 'Get'), 'v']
|
||||||
|
Loading…
Reference in New Issue
Block a user