chore: layout strategy tidying (#1509)

This commit is contained in:
Luke Kershaw
2021-11-29 10:42:23 +00:00
committed by GitHub
parent 7cfddbfd93
commit 22e59556f9
2 changed files with 9 additions and 12 deletions

View File

@@ -115,6 +115,7 @@ telescope.setup({opts}) *telescope.setup()*
Default: {
bottom_pane = {
height = 25,
preview_cutoff = 120,
prompt_position = "top"
},
center = {
@@ -1669,6 +1670,9 @@ layout_strategies.center() *layout_strategies.center()*
`picker.layout_config` unique options:
- preview_cutoff: When lines are less than this value, the preview will be disabled
- prompt_position:
- Where to place prompt window.
- Available Values: 'bottom', 'top'
layout_strategies.cursor() *layout_strategies.cursor()*