termux-packages/packages/neovim/runtime-autoload-provider-c...

17 lines
792 B
Diff
Raw Normal View History

2017-06-19 22:27:43 +02:00
diff -u -r ../neovim-76ea97c809e50fccc5ca6615943ac6da1db1e030/runtime/autoload/provider/clipboard.vim ./runtime/autoload/provider/clipboard.vim
--- ../neovim-76ea97c809e50fccc5ca6615943ac6da1db1e030/runtime/autoload/provider/clipboard.vim 2017-06-19 00:01:29.000000000 +0000
+++ ./runtime/autoload/provider/clipboard.vim 2017-06-19 20:10:55.376978820 +0000
@@ -90,6 +90,12 @@
2017-01-17 15:51:17 +01:00
let s:copy['*'] = s:copy['+']
2016-11-04 12:13:39 +01:00
let s:paste['*'] = s:paste['+']
2017-06-19 22:27:43 +02:00
return 'tmux'
2016-11-04 12:13:39 +01:00
+ elseif executable('termux-clipboard-set')
+ let s:copy['+'] = 'termux-clipboard-set'
+ let s:paste['+'] = 'termux-clipboard-get'
2016-11-04 21:28:22 +01:00
+ let s:copy['*'] = s:copy['+']
+ let s:paste['*'] = s:paste['+']
+ return 'termux-clipboard'
2017-01-17 15:51:17 +01:00
endif
2017-06-19 22:27:43 +02:00
let s:err = 'clipboard: No clipboard tool available. :help clipboard'