From 04fe97d40dc17b7c1a04a23f10dbe69ac37e9736 Mon Sep 17 00:00:00 2001 From: Dave Lage Date: Thu, 8 Oct 2020 14:24:39 -0400 Subject: [PATCH] fix: preview_cutoff to always show on dropdown theme (#156) --- lua/telescope/themes.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = { { '─', '│', '─', '│', '╭', '╮', '╯', '╰'},