diff options
| author | wongxy <xiyao.wong@foxmail.com> | 2021-07-17 16:27:36 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-17 10:27:36 +0200 |
| commit | 0708120a84e62d374a97ddbcf9219988fce50895 (patch) | |
| tree | 15ad02ccc8d0d42bbdef1e3c2fcc4503e43252bf | |
| parent | 9291922acd155c4fd564b618cf05987bc8233f16 (diff) | |
fix: correct the prompt title (#1013)
| -rw-r--r-- | lua/telescope/builtin/files.lua | 2 | ||||
| -rw-r--r-- | lua/telescope/builtin/internal.lua | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lua/telescope/builtin/files.lua b/lua/telescope/builtin/files.lua index d1e80f7..d13b81a 100644 --- a/lua/telescope/builtin/files.lua +++ b/lua/telescope/builtin/files.lua @@ -507,7 +507,7 @@ files.tags = function(opts) local results = vim.split(data, '\n') pickers.new(opts,{ - prompt = 'Tags', + prompt_title = 'Tags', finder = finders.new_table { results = results, entry_maker = opts.entry_maker or make_entry.gen_from_ctags(opts), diff --git a/lua/telescope/builtin/internal.lua b/lua/telescope/builtin/internal.lua index dc1b167..a874016 100644 --- a/lua/telescope/builtin/internal.lua +++ b/lua/telescope/builtin/internal.lua @@ -351,7 +351,7 @@ internal.vim_options = function(opts) )().options pickers.new(opts, { - prompt = 'options', + prompt_title = 'options', finder = finders.new_table { results = vim_opts, entry_maker = opts.entry_maker or make_entry.gen_from_vimoptions(opts), @@ -740,7 +740,7 @@ internal.marks = function(opts) table.remove(marks_table, 1) pickers.new(opts,{ - prompt = 'Marks', + prompt_title = 'Marks', finder = finders.new_table { results = marks_table, entry_maker = opts.entry_maker or make_entry.gen_from_marks(opts), |
