From b98509b4ad507637dc43bff3c45e8be8cb8f756c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastien=20Rivi=C3=A8re?= Date: Tue, 20 Oct 2020 04:54:35 +0200 Subject: [PATCH] fix: use results_height and results_width from config (#171) --- lua/telescope/pickers.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua index 4c3ef11..c746c16 100644 --- a/lua/telescope/pickers.lua +++ b/lua/telescope/pickers.lua @@ -102,8 +102,8 @@ function Picker:new(opts) get_preview_width = get_default(opts.preview_width, config.values.get_preview_width), - results_width = get_default(opts.results_width, 0.8), - results_height = get_default(opts.results_height, 1), + results_width = get_default(opts.results_width, config.values.results_width), + results_height = get_default(opts.results_height, config.values.results_height), winblend = get_default(opts.winblend, config.values.winblend), prompt_position = get_default(opts.prompt_position, config.values.prompt_position),