summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorBastien Rivière <babathriviere@gmail.com>2020-10-20 04:54:35 +0200
committerGitHub <noreply@github.com>2020-10-19 22:54:35 -0400
commitb98509b4ad507637dc43bff3c45e8be8cb8f756c (patch)
tree7f1fd9abf368fad3e9d845828b0d9074211da825 /lua
parentf95fe484f744426f0e192d6aa61cd27aedeaf15a (diff)
fix: use results_height and results_width from config (#171)
Diffstat (limited to 'lua')
-rw-r--r--lua/telescope/pickers.lua4
1 files 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),