diff options
| author | Jesse Leite <jesseleite@gmail.com> | 2021-03-21 01:44:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-21 12:44:08 +0700 |
| commit | a7fa60411efbfddc0674d65346a5311e33f6deb1 (patch) | |
| tree | e77df177368111fb7f9142f494f8ee0e07663395 /lua | |
| parent | d4bf1181ea6ef9aec675ff404d65098cbb91d9b1 (diff) | |
Fix prompt titles. Closes #OCD. (#675)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/builtin/files.lua | 3 | ||||
| -rw-r--r-- | lua/telescope/builtin/git.lua | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lua/telescope/builtin/files.lua b/lua/telescope/builtin/files.lua index 9749635..e037fb2 100644 --- a/lua/telescope/builtin/files.lua +++ b/lua/telescope/builtin/files.lua @@ -401,10 +401,9 @@ files.tags = function(opts) end 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 - local function apply_checks(mod) for k, v in pairs(mod) do mod[k] = function(opts) diff --git a/lua/telescope/builtin/git.lua b/lua/telescope/builtin/git.lua index f120655..f73eb4f 100644 --- a/lua/telescope/builtin/git.lua +++ b/lua/telescope/builtin/git.lua @@ -22,7 +22,7 @@ git.files = function(opts) opts.entry_maker = opts.entry_maker or make_entry.gen_from_file(opts) pickers.new(opts, { - prompt_title = 'Git File', + prompt_title = 'Git Files', finder = finders.new_oneshot_job( vim.tbl_flatten( { "git", "ls-files", "--exclude-standard", "--cached", |
