mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Windows: Clipboard provider win32yank
This commit is contained in:
parent
030349d852
commit
33cd06dfb7
@ -78,6 +78,12 @@ function! provider#clipboard#Executable() abort
|
|||||||
let s:copy['*'] = s:copy['+']
|
let s:copy['*'] = s:copy['+']
|
||||||
let s:paste['*'] = s:paste['+']
|
let s:paste['*'] = s:paste['+']
|
||||||
return 'doitclient'
|
return 'doitclient'
|
||||||
|
elseif executable('win32yank')
|
||||||
|
let s:copy['+'] = 'win32yank -i --crlf'
|
||||||
|
let s:paste['+'] = 'win32yank -o --lf'
|
||||||
|
let s:copy['*'] = s:copy['+']
|
||||||
|
let s:paste['*'] = s:paste['+']
|
||||||
|
return 'win32yank'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let s:err = 'clipboard: No clipboard tool available. See :help clipboard'
|
let s:err = 'clipboard: No clipboard tool available. See :help clipboard'
|
||||||
|
Loading…
Reference in New Issue
Block a user