From 0708120a84e62d374a97ddbcf9219988fce50895 Mon Sep 17 00:00:00 2001 From: wongxy Date: Sat, 17 Jul 2021 16:27:36 +0800 Subject: [PATCH] fix: correct the prompt title (#1013) --- lua/telescope/builtin/files.lua | 2 +- 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),