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