summaryrefslogtreecommitdiff
path: root/lua/telescope/pickers.lua
diff options
context:
space:
mode:
authorSimon Hauser <Simon-Hauser@outlook.de>2020-12-11 16:48:14 +0100
committerGitHub <noreply@github.com>2020-12-11 16:48:14 +0100
commit6e6fbbc49eee19baeeea85c99aa8fb816fbd25e6 (patch)
treeb7537f8fce4a6f58d0c480e9f3d353c1ea23f93b /lua/telescope/pickers.lua
parentd5ee177306da9c977734f84ae016726778e1746f (diff)
Fix: scroller for descending (#327)
Diffstat (limited to 'lua/telescope/pickers.lua')
-rw-r--r--lua/telescope/pickers.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua
index 04b1ccf..2681c8b 100644
--- a/lua/telescope/pickers.lua
+++ b/lua/telescope/pickers.lua
@@ -126,7 +126,8 @@ function Picker:new(opts)
obj.scroller = p_scroller.create(
- get_default(opts.scroll_strategy, config.values.scroll_strategy)
+ get_default(opts.scroll_strategy, config.values.scroll_strategy),
+ obj.sorting_strategy
)
return obj