summaryrefslogtreecommitdiff
path: root/lua/core/telescope.lua
diff options
context:
space:
mode:
authorXavier Young <[email protected]>2021-10-09 13:55:45 +0800
committerGitHub <[email protected]>2021-10-09 07:55:45 +0200
commite2df61f2565e2b1c16444b31e657f1f9df8e716b (patch)
treef990ee131b3956a7814999cdfc1a92513bd84b87 /lua/core/telescope.lua
parent85e7b7804a2c9d6847ff978c82bb3a3ac16d757f (diff)
fix(telescope): prompt position when find/grep LunarVim files (#1711)
Diffstat (limited to 'lua/core/telescope.lua')
-rw-r--r--lua/core/telescope.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/lua/core/telescope.lua b/lua/core/telescope.lua
index 0fb735fa..ba0a9ee1 100644
--- a/lua/core/telescope.lua
+++ b/lua/core/telescope.lua
@@ -26,7 +26,6 @@ function M.config()
layout_strategy = "horizontal",
layout_config = {
width = 0.75,
- prompt_position = "bottom",
preview_cutoff = 120,
horizontal = { mirror = false },
vertical = { mirror = false },
@@ -91,7 +90,7 @@ function M.find_lunarvim_files(opts)
local theme_opts = themes.get_ivy {
sorting_strategy = "ascending",
layout_strategy = "bottom_pane",
- prompt = ">> ",
+ prompt_prefix = ">> ",
prompt_title = "~ LunarVim files ~",
cwd = utils.join_paths(get_runtime_dir(), "lvim"),
find_command = { "git", "ls-files" },
@@ -106,7 +105,7 @@ function M.grep_lunarvim_files(opts)
local theme_opts = themes.get_ivy {
sorting_strategy = "ascending",
layout_strategy = "bottom_pane",
- prompt = ">> ",
+ prompt_prefix = ">> ",
prompt_title = "~ search LunarVim ~",
cwd = utils.join_paths(get_runtime_dir(), "lvim"),
}