From 11300913a45ea7c4fa5290767291c55bbc9276d7 Mon Sep 17 00:00:00 2001
From: Junegunn Choi <junegunn.c@gmail.com>
Date: Mon, 22 May 2017 01:04:04 +0900
Subject: [PATCH] [vim] Do not expand s:fzf_go

expand() may return an empty string depending on the value of
&wildignore. Since expand('<sfile>') always returns an absolute path, we
can remove expand() call here. Close #917.
---
 plugin/fzf.vim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index fd5874c0..b7611210 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -87,7 +87,7 @@ set cpo&vim
 function! s:fzf_exec()
   if !exists('s:exec')
     if executable(s:fzf_go)
-      let s:exec = s:fzf_expand(s:fzf_go)
+      let s:exec = s:fzf_go
     elseif executable('fzf')
       let s:exec = 'fzf'
     elseif s:is_win
-- 
GitLab