summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Lage <rockerboo@gmail.com>2020-10-08 14:24:39 -0400
committerGitHub <noreply@github.com>2020-10-08 14:24:39 -0400
commit04fe97d40dc17b7c1a04a23f10dbe69ac37e9736 (patch)
treef6068045f0fb6bfea9a6503d1abeaec3d5893d6c
parentc0f99aa09df08f042a18f31057794b7ec9866e43 (diff)
fix: preview_cutoff to always show on dropdown theme (#156)
-rw-r--r--lua/telescope/themes.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/telescope/themes.lua b/lua/telescope/themes.lua
index 1c8ddad..809b853 100644
--- a/lua/telescope/themes.lua
+++ b/lua/telescope/themes.lua
@@ -17,7 +17,8 @@ function themes.get_dropdown(opts)
layout_strategy = "center",
results_title = false,
preview_title = "Preview",
- width = 70,
+ preview_cutoff = 1, -- Preview should always show (unless previewer = false)
+ width = 80,
results_height = 15,
borderchars = {
{ '─', '│', '─', '│', '╭', '╮', '╯', '╰'},