diff options
| author | Simon Hauser <Simon-Hauser@outlook.de> | 2021-10-09 15:23:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-09 15:23:18 +0200 |
| commit | 50e45f86d9ff2778615d93ddc0adea0beb409684 (patch) | |
| tree | e206350a7d70c92c76fabc8298673540af48f716 | |
| parent | fc6a5009b4e118ba1e9c223df4134a933b808b95 (diff) | |
fix: scroll_strategy limit + sorting_strategy descending (#1322)
| -rw-r--r-- | lua/telescope/pickers/scroller.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/pickers/scroller.lua b/lua/telescope/pickers/scroller.lua index 38882b1..8b9bbd5 100644 --- a/lua/telescope/pickers/scroller.lua +++ b/lua/telescope/pickers/scroller.lua @@ -67,7 +67,7 @@ scroller.create = function(scroll_strategy, sorting_strategy) ) end - if result >= max_results then + if result > max_results then error( string.format( "Must never exceed max results: { result = %s, args = { %s %s %s } }", |
