Rebuild all packages with control.tar.gz
[termux-packages] / packages / neovim / runtime-autoload-provider-clipboard.vim.patch
CommitLineData
3b70c1fc
FF
1diff -u -r ../neovim-76ea97c809e50fccc5ca6615943ac6da1db1e030/runtime/autoload/provider/clipboard.vim ./runtime/autoload/provider/clipboard.vim
2--- ../neovim-76ea97c809e50fccc5ca6615943ac6da1db1e030/runtime/autoload/provider/clipboard.vim 2017-06-19 00:01:29.000000000 +0000
3+++ ./runtime/autoload/provider/clipboard.vim 2017-06-19 20:10:55.376978820 +0000
54acc398 4@@ -90,6 +90,12 @@
a19f43f2 5 let s:copy['*'] = s:copy['+']
322e080b 6 let s:paste['*'] = s:paste['+']
3b70c1fc 7 return 'tmux'
322e080b
FF
8+ elseif executable('termux-clipboard-set')
9+ let s:copy['+'] = 'termux-clipboard-set'
10+ let s:paste['+'] = 'termux-clipboard-get'
823783c5
MK
11+ let s:copy['*'] = s:copy['+']
12+ let s:paste['*'] = s:paste['+']
13+ return 'termux-clipboard'
a19f43f2 14 endif
5dc6fc32 15
3b70c1fc 16 let s:err = 'clipboard: No clipboard tool available. :help clipboard'