defaults: change center layout default size (#1546)

* defaults: change `center` layout default size

- now matches the description and has space for a preview above the central block
This commit is contained in:
Luke Kershaw
2021-12-03 16:50:44 +00:00
committed by GitHub
parent 4016ebe8e8
commit 582dbd4da8
2 changed files with 4 additions and 4 deletions

View File

@@ -119,10 +119,10 @@ telescope.setup({opts}) *telescope.setup()*
prompt_position = "top" prompt_position = "top"
}, },
center = { center = {
height = 0.9, height = 0.4,
preview_cutoff = 40, preview_cutoff = 40,
prompt_position = "top", prompt_position = "top",
width = 0.8 width = 0.5
}, },
cursor = { cursor = {
height = 0.9, height = 0.9,

View File

@@ -93,8 +93,8 @@ local layout_config_defaults = {
}, },
center = { center = {
width = 0.8, width = 0.5,
height = 0.9, height = 0.4,
preview_cutoff = 40, preview_cutoff = 40,
prompt_position = "top", prompt_position = "top",
}, },