Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 87398bb

Browse files
committed
fix(spell): fix a few typos
1 parent be7519c commit 87398bb

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -267,21 +267,21 @@ https://github.com/kawre/leetcode.nvim/assets/69250723/64378b0f-c5ba-4378-b9ff-a
267267

268268
## 📋 Commands
269269

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 |
277277

278278
## ✅ Todo
279279

280280
- [ ] CN version
281281
- [ ] SQL support
282282
- [ ] Statistics menu page
283283
- [ ] Docs
284-
- [ ] Hints popup
284+
- [ ] Hints pop-up
285285

286286
## 🙌 Credits
287287

lua/leetcode-ui/layout.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function Layout:get_line_idx(val)
6969
return line_idx
7070
end
7171

72-
---@param line integer The line that the click happend
72+
---@param line integer The line that the click happened
7373
function Layout:handle_press(line)
7474
if self.buttons[line] then self.buttons[line].fn() end
7575
end

lua/leetcode/api/command.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function cmd.cookie_prompt(cb)
5555
input:mount()
5656
end
5757

58-
---Signout
58+
---Sign out
5959
function cmd.delete_cookie()
6060
log.warn("You're now signed out")
6161
local cookie = require("leetcode.cache.cookie")
@@ -121,7 +121,7 @@ function cmd.list_questions()
121121
return (curr_tabp == item.tabpage and "(C) " or " ") .. text
122122
end, function(res) pcall(vim.cmd.tabnext, res.tabpage) end)
123123
else
124-
log.warn("No questions openned")
124+
log.warn("No questions opened")
125125
end
126126
end
127127

@@ -150,11 +150,11 @@ function cmd.prompt_lang()
150150
{ lang = "Erlang", slug = "erlang", icon = "" },
151151
{ lang = "Elixir", slug = "elixir", icon = "" },
152152
},
153-
"Pick a Langauge",
153+
"Pick a Language",
154154
function(t) return t.icon .. " " .. t.lang end,
155155
function(t)
156156
config.lang = t.slug
157-
log.info("Langauge set to " .. t.lang)
157+
log.info("Language set to " .. t.lang)
158158
end
159159
)
160160
end

0 commit comments

Comments
 (0)