fix(telescope): prompt position when find/grep LunarVim files (#1711)

This commit is contained in:
Xavier Young 2021-10-09 13:55:45 +08:00 committed by GitHub
parent 85e7b7804a
commit e2df61f256
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"),
}