From 43755c8f24d0e92ea8b605c971af152eae030ea3 Mon Sep 17 00:00:00 2001 From: daa Date: Mon, 1 Jan 2018 18:52:55 +0300 Subject: [PATCH] Disable gtk clipboard by default as it does not support PRIMARY --- runtime/plugin/nvim_gui_shim.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/plugin/nvim_gui_shim.vim b/runtime/plugin/nvim_gui_shim.vim index 5cec3cb..319784a 100644 --- a/runtime/plugin/nvim_gui_shim.vim +++ b/runtime/plugin/nvim_gui_shim.vim @@ -4,7 +4,7 @@ if !has('nvim') || exists('g:GuiLoaded') endif let g:GuiLoaded = 1 -if !exists('g:GuiExternalClipboard') +if exists('g:GuiInternalClipboard') function! provider#clipboard#Call(method, args) abort if a:method == 'get' return [rpcrequest(1, 'Gui', 'Clipboard', 'Get'), 'v']