From 919b8f2a9d513c66ef0a81b7a9ff72f5579de3ee Mon Sep 17 00:00:00 2001 From: Norlock Date: Wed, 7 Oct 2020 23:03:30 +0200 Subject: [PATCH] fix: Changed git command to show all files inside project (#129) --- lua/telescope/builtin.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),