Skip to content
Snippets Groups Projects
Unverified Commit 11300913 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

[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.
parent e65f14cb
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,7 @@ set cpo&vim ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment