mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-22 21:05:09 +00:00
[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.
This commit is contained in:
parent
e65f14cbed
commit
11300913a4
@ -87,7 +87,7 @@ set cpo&vim
|
|||||||
function! s:fzf_exec()
|
function! s:fzf_exec()
|
||||||
if !exists('s:exec')
|
if !exists('s:exec')
|
||||||
if executable(s:fzf_go)
|
if executable(s:fzf_go)
|
||||||
let s:exec = s:fzf_expand(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
|
||||||
|
Loading…
Reference in New Issue
Block a user