Fix prompt titles. Closes #OCD. (#675)
This commit is contained in:
@@ -401,10 +401,9 @@ files.tags = function(opts)
|
|||||||
end
|
end
|
||||||
|
|
||||||
files.current_buffer_tags = function(opts)
|
files.current_buffer_tags = function(opts)
|
||||||
return files.tags(vim.tbl_extend("force", {only_current_file = true, hide_filename = true}, opts))
|
return files.tags(vim.tbl_extend("force", {prompt_title = 'Current Buffer Tags', only_current_file = true, hide_filename = true}, opts))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
local function apply_checks(mod)
|
local function apply_checks(mod)
|
||||||
for k, v in pairs(mod) do
|
for k, v in pairs(mod) do
|
||||||
mod[k] = function(opts)
|
mod[k] = function(opts)
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ git.files = function(opts)
|
|||||||
opts.entry_maker = opts.entry_maker or make_entry.gen_from_file(opts)
|
opts.entry_maker = opts.entry_maker or make_entry.gen_from_file(opts)
|
||||||
|
|
||||||
pickers.new(opts, {
|
pickers.new(opts, {
|
||||||
prompt_title = 'Git File',
|
prompt_title = 'Git Files',
|
||||||
finder = finders.new_oneshot_job(
|
finder = finders.new_oneshot_job(
|
||||||
vim.tbl_flatten( {
|
vim.tbl_flatten( {
|
||||||
"git", "ls-files", "--exclude-standard", "--cached",
|
"git", "ls-files", "--exclude-standard", "--cached",
|
||||||
|
|||||||
Reference in New Issue
Block a user