diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2017-05-22 01:04:04 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2017-05-22 01:04:04 +0900 |
| commit | 11300913a45ea7c4fa5290767291c55bbc9276d7 (patch) | |
| tree | 414af712fa3d64f2f6fbbe1d991e5bbafb3cc4df /plugin/fzf.vim | |
| parent | e65f14cbed2ebb6a572188d8e373d1279e7edc03 (diff) | |
| download | fzf-11300913a45ea7c4fa5290767291c55bbc9276d7.tar.gz | |
[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.
Diffstat (limited to 'plugin/fzf.vim')
| -rw-r--r-- | plugin/fzf.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
