Fix #39 - GitFiles not updated to use fzf#vim#wrap

This commit is contained in:
Junegunn Choi 2015-11-12 02:27:29 +09:00
parent 7ebf708505
commit 9a45d70f00

View file

@ -329,12 +329,11 @@ function! fzf#vim#gitfiles(...)
call s:warn('Not in git repo') call s:warn('Not in git repo')
return return
endif endif
call s:fzf({ call s:fzf(fzf#vim#wrap({
\ 'source': 'git ls-tree --name-only -r HEAD', \ 'source': 'git ls-tree --name-only -r HEAD',
\ 'dir': root, \ 'dir': root,
\ 'sink*': s:function('s:common_sink'), \ 'options': '-m --prompt "GitFiles> "'
\ 'options': '--prompt "GitFiles> " -m'.s:expect(), \}), a:000)
\}, a:000)
endfunction endfunction
" ------------------------------------------------------------------ " ------------------------------------------------------------------