mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-06 20:54:28 +08:00
Fix #39 - GitFiles not updated to use fzf#vim#wrap
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
" ------------------------------------------------------------------
|
" ------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user