A Neovim plugin enabling you to solve LeetCode problems.
docs(readme): update
2 files changed, +7 -9
+4-2README.md
| @@ -2,7 +2,7 @@ | ||
| 2 | 2 | |
| 3 | 3 | 🚨 **leetcode.nvim is currently in the _alpha stage_ of development** 🚨 |
| 4 | 4 | |
| 5 | -______________________________________________________________________ | |
| 5 | +--- | |
| 6 | 6 | |
| 7 | 7 | # leetcode.nvim |
| 8 | 8 | |
| @@ -92,6 +92,8 @@ To see full configuration types see [template.lua](./lua/leetcode/config/templat | ||
| 92 | 92 | ---@type boolean |
| 93 | 93 | logging = true, |
| 94 | 94 | |
| 95 | + injector = {} ---@type table<lc.lang, lc.inject> | |
| 96 | + | |
| 95 | 97 | cache = { |
| 96 | 98 | update_interval = 60 * 60 * 24 * 7, ---@type integer 7 days |
| 97 | 99 | }, |
| @@ -129,7 +131,7 @@ To see full configuration types see [template.lua](./lua/leetcode/config/templat | ||
| 129 | 131 | ---@type fun()[] |
| 130 | 132 | LeetEnter = {}, |
| 131 | 133 | |
| 132 | - ---@type fun(question: { lang: string })[] | |
| 134 | + ---@type fun(question: lc.ui.Question)[] | |
| 133 | 135 | LeetQuestionNew = {}, |
| 134 | 136 | }, |
| 135 | 137 |
+3-7README.zh.md
| @@ -2,7 +2,7 @@ | ||
| 2 | 2 | |
| 3 | 3 | 🚨 **leetcode.nvim 目前处于 _alpha 阶段_ 开发中** 🚨 |
| 4 | 4 | |
| 5 | -______________________________________________________________________ | |
| 5 | +--- | |
| 6 | 6 | |
| 7 | 7 | # leetcode.nvim |
| 8 | 8 | |
| @@ -73,11 +73,7 @@ https://github.com/kawre/leetcode.nvim/assets/69250723/aee6584c-e099-4409-b114-1 | ||
| 73 | 73 | |
| 74 | 74 | 要查看完整的配置类型,请参见 [template.lua](./lua/leetcode/config/template.lua) |
| 75 | 75 | |
| 76 | -### ⚙️ 默认配置 | |
| 77 | - | |
| 78 | -<!-- <details> --> | |
| 79 | - | |
| 80 | -<!-- <summary>Click to see</summary> --> | |
| 76 | +### ⚙️ 默认配置 | |
| 81 | 77 | |
| 82 | 78 | ```lua |
| 83 | 79 | { |
| @@ -138,7 +134,7 @@ https://github.com/kawre/leetcode.nvim/assets/69250723/aee6584c-e099-4409-b114-1 | ||
| 138 | 134 | ---@type fun()[] |
| 139 | 135 | LeetEnter = {}, |
| 140 | 136 | |
| 141 | - ---@type fun(question: { lang: string })[] | |
| 137 | + ---@type fun(question: lc.ui.Question)[] | |
| 142 | 138 | LeetQuestionNew = {}, |
| 143 | 139 | }, |
| 144 | 140 |