A Neovim plugin enabling you to solve LeetCode problems.
docs: picker dependencies
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 | ||
| 26 | 26 | |
| 27 | 27 | - [Neovim] >= 0.9.0 |
| 28 | 28 | |
| 29 | -- [telescope.nvim] or [fzf-lua] | |
| 29 | +- [Picker](#picker) | |
| 30 | 30 | |
| 31 | 31 | - [plenary.nvim] |
| 32 | 32 | |
| @@ -47,8 +47,7 @@ https://github.com/kawre/leetcode.nvim/assets/69250723/aee6584c-e099-4409-b114-1 | ||
| 47 | 47 | "kawre/leetcode.nvim", |
| 48 | 48 | build = ":TSUpdate html", -- if you have `nvim-treesitter` installed |
| 49 | 49 | dependencies = { |
| 50 | - "nvim-telescope/telescope.nvim", | |
| 51 | - -- "ibhagwan/fzf-lua", | |
| 50 | + -- include a picker of your choice, see picker section for more details | |
| 52 | 51 | "nvim-lua/plenary.nvim", |
| 53 | 52 | "MunifTanjim/nui.nvim", |
| 54 | 53 | }, |
| @@ -281,9 +280,9 @@ injector = { ---@type table<lc.lang, lc.inject> | ||
| 281 | 280 | |
| 282 | 281 | Supported picker providers are: |
| 283 | 282 | |
| 284 | -- `snacks-picker` | |
| 285 | -- `fzf-lua` | |
| 286 | -- `telescope` | |
| 283 | +- [`snacks-picker`][snacks.nvim] | |
| 284 | +- [`fzf-lua`][fzf-lua] | |
| 285 | +- [`telescope`][telescope.nvim] | |
| 287 | 286 | |
| 288 | 287 | If `provider` is `nil`, [leetcode.nvim] will try to resolve the first |
| 289 | 288 | available one in the order above. |
| @@ -435,7 +434,9 @@ To switch between questions, use `Leet tabs` | ||
| 435 | 434 | |
| 436 | 435 | ### Sign In |
| 437 | 436 | |
| 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. | |
| 439 | 440 | |
| 440 | 441 | https://github.com/kawre/leetcode.nvim/assets/69250723/b7be8b95-5e2c-4153-8845-4ad3abeda5c3 |
| 441 | 442 | |
| @@ -508,5 +509,6 @@ You can then exit [leetcode.nvim] using `:Leet exit` command | ||
| 508 | 509 | [nvim-web-devicons]: https://github.com/nvim-tree/nvim-web-devicons |
| 509 | 510 | [telescope.nvim]: https://github.com/nvim-telescope/telescope.nvim |
| 510 | 511 | [fzf-lua]: https://github.com/ibhagwan/fzf-lua |
| 512 | +[snacks.nvim]: https://github.com/folke/snacks.nvim | |
| 511 | 513 | [tree-sitter-html]: https://github.com/tree-sitter/tree-sitter-html |
| 512 | 514 | [plenary.nvim]: https://github.com/nvim-lua/plenary.nvim |