Skip to content

Commit 6abdcf6

Browse files
committed
docs: add snacks-picker as picker provider
1 parent a3956db commit 6abdcf6

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,14 @@ injector = { ---@type table<lc.lang, lc.inject>
279279

280280
### picker
281281

282-
Supported picker providers are `telescope` and `fzf-lua`.
283-
When provider is `nil`, [leetcode.nvim] will first try to use `fzf-lua`,
284-
if not found it will fallback to `telescope`.
282+
Supported picker providers are:
283+
284+
- `snacks-picker`
285+
- `fzf-lua`
286+
- `telescope`
287+
288+
If `provider` is `nil`, [leetcode.nvim] will try to resolve the first
289+
available one in the order above.
285290

286291
```lua
287292
---@type lc.picker
@@ -377,26 +382,22 @@ image_support = false,
377382
- `inject` re-inject code for the current question
378383

379384
- `session`
380-
381385
- `create` create a new session
382386
- `change` change the current session
383387

384388
- `update` update the current session in case it went out of sync
385389

386390
- `desc` toggle question description
387-
388391
- `toggle` same as `Leet desc`
389392

390393
- `stats` toggle description stats visibility
391394

392395
- `cookie`
393-
394396
- `update` opens a prompt to enter a new cookie
395397

396398
- `delete` sign-out
397399

398400
- `cache`
399-
400401
- `update` updates cache
401402

402403
#### Some commands can take optional arguments. To stack argument values separate them by a `,`

0 commit comments

Comments
 (0)