[vim] Allow running install --bin on Cygwin

This commit is contained in:
Junegunn Choi 2017-06-04 15:15:46 +09:00
parent ca0b3b6fd7
commit 773133c4ce
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -110,7 +110,7 @@ function! s:fzf_exec()
let s:exec = s:fzf_go let s:exec = s:fzf_go
elseif executable('fzf') elseif executable('fzf')
let s:exec = 'fzf' let s:exec = 'fzf'
elseif s:is_win elseif s:is_win && !has('win32unix')
call s:warn('fzf executable not found.') call s:warn('fzf executable not found.')
call s:warn('Download fzf binary for Windows from https://github.com/junegunn/fzf-bin/releases/') call s:warn('Download fzf binary for Windows from https://github.com/junegunn/fzf-bin/releases/')
call s:warn('and place it as '.s:base_dir.'\bin\fzf.exe') call s:warn('and place it as '.s:base_dir.'\bin\fzf.exe')