diff options
| author | Norlock <jwillems25@hotmail.com> | 2020-10-07 23:03:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-07 17:03:30 -0400 |
| commit | 919b8f2a9d513c66ef0a81b7a9ff72f5579de3ee (patch) | |
| tree | fd1eee48005b258374a1c300074cce394937c6fa /lua | |
| parent | c337911b797485d112833f0e692aa6a2c3ce1f65 (diff) | |
fix: Changed git command to show all files inside project (#129)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/builtin.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/builtin.lua b/lua/telescope/builtin.lua index de56da7..6b51036 100644 --- a/lua/telescope/builtin.lua +++ b/lua/telescope/builtin.lua @@ -54,7 +54,7 @@ builtin.git_files = function(opts) pickers.new(opts, { prompt = 'Git File', finder = finders.new_oneshot_job( - { "git", "ls-files", "-o", "--exclude-standard", "-c" }, + { "git", "ls-tree", "--full-tree", "-r", "--name-only", "HEAD" }, opts ), previewer = previewers.cat.new(opts), |
