irongit

A Neovim plugin enabling you to solve LeetCode problems.

docs: picker dependencies

kawreauthored
parent 46c627ccommit 7bbeeaf9ec58fbe4e2e0c1160daff6160a193855Browse files

1 file changed, +9 -7

+9-7README.md
@@ -26,7 +26,7 @@ https://github.com/kawre/leetcode.nvim/assets/69250723/aee6584c-e099-4409-b114-1
2626
2727 - [Neovim] >= 0.9.0
2828
29-- [telescope.nvim] or [fzf-lua]
29+- [Picker](#picker)
3030
3131 - [plenary.nvim]
3232
@@ -47,8 +47,7 @@ https://github.com/kawre/leetcode.nvim/assets/69250723/aee6584c-e099-4409-b114-1
4747 "kawre/leetcode.nvim",
4848 build = ":TSUpdate html", -- if you have `nvim-treesitter` installed
4949 dependencies = {
50- "nvim-telescope/telescope.nvim",
51- -- "ibhagwan/fzf-lua",
50+ -- include a picker of your choice, see picker section for more details
5251 "nvim-lua/plenary.nvim",
5352 "MunifTanjim/nui.nvim",
5453 },
@@ -281,9 +280,9 @@ injector = { ---@type table<lc.lang, lc.inject>
281280
282281 Supported picker providers are:
283282
284-- `snacks-picker`
285-- `fzf-lua`
286-- `telescope`
283+- [`snacks-picker`][snacks.nvim]
284+- [`fzf-lua`][fzf-lua]
285+- [`telescope`][telescope.nvim]
287286
288287 If `provider` is `nil`, [leetcode.nvim] will try to resolve the first
289288 available one in the order above.
@@ -435,7 +434,9 @@ To switch between questions, use `Leet tabs`
435434
436435 ### Sign In
437436
438-It is **required** to be **signed-in** to use [leetcode.nvim]
437+> [!WARNING]
438+> Be sure to copy the `Cookie` from request headers, not the `set-cookie` from
439+> response headers.
439440
440441 https://github.com/kawre/leetcode.nvim/assets/69250723/b7be8b95-5e2c-4153-8845-4ad3abeda5c3
441442
@@ -508,5 +509,6 @@ You can then exit [leetcode.nvim] using `:Leet exit` command
508509 [nvim-web-devicons]: https://github.com/nvim-tree/nvim-web-devicons
509510 [telescope.nvim]: https://github.com/nvim-telescope/telescope.nvim
510511 [fzf-lua]: https://github.com/ibhagwan/fzf-lua
512+[snacks.nvim]: https://github.com/folke/snacks.nvim
511513 [tree-sitter-html]: https://github.com/tree-sitter/tree-sitter-html
512514 [plenary.nvim]: https://github.com/nvim-lua/plenary.nvim