From 773133c4ce80b55ebc2bc9a79d3ec1c6b5b03d17 Mon Sep 17 00:00:00 2001
From: Junegunn Choi <junegunn.c@gmail.com>
Date: Sun, 4 Jun 2017 15:15:46 +0900
Subject: [PATCH] [vim] Allow running install --bin on Cygwin

---
 plugin/fzf.vim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index 8bdeb3b0..d3dcadf6 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -110,7 +110,7 @@ function! s:fzf_exec()
       let s:exec = s:fzf_go
     elseif executable('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('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')
-- 
GitLab