irongit

A Neovim plugin enabling you to solve LeetCode problems.

docs(readme): update

kawreauthored
parent babfaafcommit 5a5c8decd54211b0a50181590f1655bc555d67d8Browse files

2 files changed, +7 -9

+4-2README.md
@@ -2,7 +2,7 @@
22
33 🚨 **leetcode.nvim is currently in the _alpha stage_ of development** 🚨
44
5-______________________________________________________________________
5+---
66
77 # leetcode.nvim
88
@@ -92,6 +92,8 @@ To see full configuration types see [template.lua](./lua/leetcode/config/templat
9292 ---@type boolean
9393 logging = true,
9494
95+ injector = {} ---@type table<lc.lang, lc.inject>
96+
9597 cache = {
9698 update_interval = 60 * 60 * 24 * 7, ---@type integer 7 days
9799 },
@@ -129,7 +131,7 @@ To see full configuration types see [template.lua](./lua/leetcode/config/templat
129131 ---@type fun()[]
130132 LeetEnter = {},
131133
132- ---@type fun(question: { lang: string })[]
134+ ---@type fun(question: lc.ui.Question)[]
133135 LeetQuestionNew = {},
134136 },
135137
+3-7README.zh.md
@@ -2,7 +2,7 @@
22
33 🚨 **leetcode.nvim 目前处于 _alpha 阶段_ 开发中** 🚨
44
5-______________________________________________________________________
5+---
66
77 # leetcode.nvim
88
@@ -73,11 +73,7 @@ https://github.com/kawre/leetcode.nvim/assets/69250723/aee6584c-e099-4409-b114-1
7373
7474 要查看完整的配置类型,请参见 [template.lua](./lua/leetcode/config/template.lua)
7575
76-### ⚙️ 默认配置
77-
78-<!-- <details> -->
79-
80-<!-- <summary>Click to see</summary> -->
76+### ⚙️ 默认配置
8177
8278 ```lua
8379 {
@@ -138,7 +134,7 @@ https://github.com/kawre/leetcode.nvim/assets/69250723/aee6584c-e099-4409-b114-1
138134 ---@type fun()[]
139135 LeetEnter = {},
140136
141- ---@type fun(question: { lang: string })[]
137+ ---@type fun(question: lc.ui.Question)[]
142138 LeetQuestionNew = {},
143139 },
144140