Only search text files in Git repositories.
This commit is contained in:
parent
3c62071b1d
commit
ad4db7754a
1 changed files with 1 additions and 1 deletions
|
@ -515,7 +515,7 @@ function! fzf#vim#gitfiles(args, ...)
|
|||
endif
|
||||
if a:args != '?'
|
||||
return s:fzf('gfiles', {
|
||||
\ 'source': 'git ls-files '.a:args.(s:is_win ? '' : ' | uniq'),
|
||||
\ 'source': 'git grep --cached -Il "" '.a:args.(s:is_win ? '' : ' | uniq'),
|
||||
\ 'dir': root,
|
||||
\ 'options': '-m --prompt "GitFiles> "'
|
||||
\}, a:000)
|
||||
|
|
Loading…
Add table
Reference in a new issue