fix: Changed git command to show all files inside project (#129)

This commit is contained in:
Norlock
2020-10-07 23:03:30 +02:00
committed by GitHub
parent c337911b79
commit 919b8f2a9d

View File

@@ -54,7 +54,7 @@ builtin.git_files = function(opts)
pickers.new(opts, { pickers.new(opts, {
prompt = 'Git File', prompt = 'Git File',
finder = finders.new_oneshot_job( finder = finders.new_oneshot_job(
{ "git", "ls-files", "-o", "--exclude-standard", "-c" }, { "git", "ls-tree", "--full-tree", "-r", "--name-only", "HEAD" },
opts opts
), ),
previewer = previewers.cat.new(opts), previewer = previewers.cat.new(opts),