busybox: Set __progname in getopt for -n to work
[termux-packages] / packages / neovim / runtime-autoload-provider-clipboard.vim.patch
1 diff -u -r ../neovim-01f1028496bd1a402ad1b11c311291ec96335b70/runtime/autoload/provider/clipboard.vim ./runtime/autoload/provider/clipboard.vim
2 --- ../neovim-01f1028496bd1a402ad1b11c311291ec96335b70/runtime/autoload/provider/clipboard.vim 2016-11-04 14:04:54.419734130 -0500
3 +++ ./runtime/autoload/provider/clipboard.vim 2016-11-04 14:07:45.039751132 -0500
4 @@ -45,6 +45,12 @@
5 let s:paste['*'] = s:paste['+']
6 let s:cache_enabled = 0
7 return 'pbcopy'
8 + elseif executable('termux-clipboard-set')
9 + let s:copy['+'] = 'termux-clipboard-set'
10 + let s:paste['+'] = 'termux-clipboard-get'
11 + let s:copy['*'] = s:copy['+']
12 + let s:paste['*'] = s:paste['+']
13 + return 'termux-clipboard'
14 elseif exists('$DISPLAY') && executable('xsel')
15 let s:copy['+'] = 'xsel --nodetach -i -b'
16 let s:paste['+'] = 'xsel -o -b'