diff options
| author | Bastien Rivière <babathriviere@gmail.com> | 2020-10-20 04:54:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-19 22:54:35 -0400 |
| commit | b98509b4ad507637dc43bff3c45e8be8cb8f756c (patch) | |
| tree | 7f1fd9abf368fad3e9d845828b0d9074211da825 /lua | |
| parent | f95fe484f744426f0e192d6aa61cd27aedeaf15a (diff) | |
fix: use results_height and results_width from config (#171)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/pickers.lua | 4 |
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), |
