Disable gtk clipboard by default as it does not support PRIMARY

This commit is contained in:
daa 2018-01-01 18:52:55 +03:00
parent b88159630d
commit 43755c8f24

View File

@ -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']