summaryrefslogtreecommitdiff
path: root/lua/telescope/config.lua
diff options
context:
space:
mode:
authorMichael Benford <michael@michaelbenford.net>2022-04-08 13:17:54 -0300
committerGitHub <noreply@github.com>2022-04-08 18:17:54 +0200
commit317371d37c21216c7042fc7b2e8bf0aeb601bf59 (patch)
tree7454d6332d8da8908347c092fdb1d1cb94e8f750 /lua/telescope/config.lua
parent6e7ee3829225d5c97c1ebfff686050142ffe5867 (diff)
feat: global configuration of results_title and prompt_title (#1817)
Diffstat (limited to 'lua/telescope/config.lua')
-rw-r--r--lua/telescope/config.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/lua/telescope/config.lua b/lua/telescope/config.lua
index 26f5845..7b08dc6 100644
--- a/lua/telescope/config.lua
+++ b/lua/telescope/config.lua
@@ -420,6 +420,27 @@ append(
)
append(
+ "results_title",
+ "Results",
+ [[
+ Defines the default title of the results window. A false value
+ can be used to hide the title altogether.
+
+ Default: "Results"]]
+)
+
+append(
+ "prompt_title",
+ "Prompt",
+ [[
+ Defines the default title of the prompt window. A false value
+ can be used to hide the title altogether. Most of the times builtins
+ define a prompt_title which will be prefered over this default.
+
+ Default: "Prompt"]]
+)
+
+append(
"history",
{
path = vim.fn.stdpath "data" .. os_sep .. "telescope_history",