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')
return
endif
call s:fzf({
call s:fzf(fzf#vim#wrap({
\ 'source': 'git ls-tree --name-only -r HEAD',
\ 'dir': root,
\ 'sink*': s:function('s:common_sink'),
\ 'options': '--prompt "GitFiles> " -m'.s:expect(),
\}, a:000)
\ 'options': '-m --prompt "GitFiles> "'
\}), a:000)
endfunction
" ------------------------------------------------------------------