File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -267,21 +267,21 @@ https://github.com/kawre/leetcode.nvim/assets/69250723/64378b0f-c5ba-4378-b9ff-a
267
267
268
268
## 📋 Commands
269
269
270
- | command | description |
271
- | --------------- | --------------- |
272
- | LcMenu | opens menu dashboard |
273
- | LcConsole | opens console for currently opened question |
274
- | LcQuestionTabs | opens a picker with all currently opened question tabs |
275
- | LcLanguage | opens a picker to select a language for the current session |
276
- | LcDescriptionToggle | toggle question description |
270
+ | command | description |
271
+ | ------------------- | -------------------------------------------- --------------- |
272
+ | LcMenu | opens menu dashboard |
273
+ | LcConsole | opens console for currently opened question |
274
+ | LcQuestionTabs | opens a picker with all currently opened question tabs |
275
+ | LcLanguage | opens a picker to select a language for the current session |
276
+ | LcDescriptionToggle | toggle question description |
277
277
278
278
## ✅ Todo
279
279
280
280
- [ ] CN version
281
281
- [ ] SQL support
282
282
- [ ] Statistics menu page
283
283
- [ ] Docs
284
- - [ ] Hints popup
284
+ - [ ] Hints pop-up
285
285
286
286
## 🙌 Credits
287
287
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ function Layout:get_line_idx(val)
69
69
return line_idx
70
70
end
71
71
72
- --- @param line integer The line that the click happend
72
+ --- @param line integer The line that the click happened
73
73
function Layout :handle_press (line )
74
74
if self .buttons [line ] then self .buttons [line ].fn () end
75
75
end
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ function cmd.cookie_prompt(cb)
55
55
input :mount ()
56
56
end
57
57
58
- --- Signout
58
+ --- Sign out
59
59
function cmd .delete_cookie ()
60
60
log .warn (" You're now signed out" )
61
61
local cookie = require (" leetcode.cache.cookie" )
@@ -121,7 +121,7 @@ function cmd.list_questions()
121
121
return (curr_tabp == item .tabpage and " (C) " or " " ) .. text
122
122
end , function (res ) pcall (vim .cmd .tabnext , res .tabpage ) end )
123
123
else
124
- log .warn (" No questions openned " )
124
+ log .warn (" No questions opened " )
125
125
end
126
126
end
127
127
@@ -150,11 +150,11 @@ function cmd.prompt_lang()
150
150
{ lang = " Erlang" , slug = " erlang" , icon = " " },
151
151
{ lang = " Elixir" , slug = " elixir" , icon = " " },
152
152
},
153
- " Pick a Langauge " ,
153
+ " Pick a Language " ,
154
154
function (t ) return t .icon .. " " .. t .lang end ,
155
155
function (t )
156
156
config .lang = t .slug
157
- log .info (" Langauge set to " .. t .lang )
157
+ log .info (" Language set to " .. t .lang )
158
158
end
159
159
)
160
160
end
You can’t perform that action at this time.
0 commit comments