mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-08-16 02:45:09 +00:00
fix: adapt to Nvim deprecations in 0.10 (#3109)
(cherry picked from commit bbdbb7593f)
This commit is contained in:
committed by
Simon Hauser
parent
3a5d17d9d0
commit
dd4acbd6fa
@@ -44,7 +44,7 @@ git.files = function(opts)
|
||||
.new(opts, {
|
||||
prompt_title = "Git Files",
|
||||
finder = finders.new_oneshot_job(
|
||||
vim.tbl_flatten {
|
||||
utils.flatten {
|
||||
git_command,
|
||||
show_untracked and "--others" or nil,
|
||||
recurse_submodules and "--recurse-submodules" or nil,
|
||||
@@ -91,7 +91,7 @@ git.stash = function(opts)
|
||||
.new(opts, {
|
||||
prompt_title = "Git Stash",
|
||||
finder = finders.new_oneshot_job(
|
||||
vim.tbl_flatten {
|
||||
utils.flatten {
|
||||
"git",
|
||||
"--no-pager",
|
||||
"stash",
|
||||
@@ -125,7 +125,7 @@ git.bcommits = function(opts)
|
||||
.new(opts, {
|
||||
prompt_title = "Git BCommits",
|
||||
finder = finders.new_oneshot_job(
|
||||
vim.tbl_flatten {
|
||||
utils.flatten {
|
||||
git_command,
|
||||
opts.current_file,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user