Fix #39 - GitFiles not updated to use fzf#vim#wrap
This commit is contained in:
parent
7ebf708505
commit
9a45d70f00
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||||
|
|
||||||
" ------------------------------------------------------------------
|
" ------------------------------------------------------------------
|
||||||
|
|
Loading…
Add table
Reference in a new issue