Skip to content

Commit 2e0893d

Browse files
committed
(docs): document the scrolling_limit Picker option
1 parent eff18a7 commit 2e0893d

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

developers.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ Picker:new{
341341
border = {},
342342
borderchars = {"", "", "", "", "", "", "", ""},
343343
default_selection_index = 1, -- Change the index of the initial selection row
344+
scrolling_limit = 250, -- Limit the number of results to display
344345
}
345346
```
346347

lua/telescope/pickers.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@ local Picker = {}
225225
Picker.__index = Picker
226226

227227
--- Create new picker
228+
--- @param opts table: options used to create the picker
229+
--- @field scrolling_limit integer: maximum number of results to display.
228230
function Picker:new(opts)
229231
opts = opts or {}
230232

0 commit comments

Comments
 (0)