mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07: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:paste['*'] = s:paste['+']
|
||||
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
|
||||
|
||||
let s:err = 'clipboard: No clipboard tool available. See :help clipboard'
|
||||
|
Loading…
Reference in New Issue
Block a user