A Neovim plugin enabling you to solve LeetCode problems.
docs: update lazy loading
2 files changed, +11 -2
+6-1README.md
| @@ -288,6 +288,8 @@ image_support = false, | ||
| 288 | 288 | |
| 289 | 289 | - `tabs` opens a picker with all currently opened question tabs |
| 290 | 290 | |
| 291 | +- `yank` yanks the current question solution | |
| 292 | + | |
| 291 | 293 | - `lang` opens a picker to change the language of the current question |
| 292 | 294 | |
| 293 | 295 | - `run` run currently opened question |
| @@ -361,6 +363,9 @@ https://github.com/kawre/leetcode.nvim/assets/69250723/b7be8b95-5e2c-4153-8845-4 | ||
| 361 | 363 | |
| 362 | 364 | ### 💤 lazy loading with [lazy.nvim] |
| 363 | 365 | |
| 366 | +<small>🚨 _**opting for either option makes the alternative | |
| 367 | +launch method unavailable due to lazy loading.**_</small> | |
| 368 | + | |
| 364 | 369 | - with [`arg`](#arg) |
| 365 | 370 | |
| 366 | 371 | ```lua |
| @@ -375,7 +380,7 @@ https://github.com/kawre/leetcode.nvim/assets/69250723/b7be8b95-5e2c-4153-8845-4 | ||
| 375 | 380 | } |
| 376 | 381 | ``` |
| 377 | 382 | |
| 378 | -- with `:Leet`, this will make launching with [`arg`](#arg) not work | |
| 383 | +- with `:Leet` | |
| 379 | 384 | |
| 380 | 385 | ```lua |
| 381 | 386 | { |
+5-1README.zh.md
| @@ -291,6 +291,8 @@ image_support = false, -- 将此设置为 `true` 将禁用问题描述的换行 | ||
| 291 | 291 | |
| 292 | 292 | - `tabs` 打开所有当前打开问题选项卡的选择器 |
| 293 | 293 | |
| 294 | +- `yank` 复制当前问题的解决方案 | |
| 295 | + | |
| 294 | 296 | - `lang` 打开更改当前问题语言的选择器 |
| 295 | 297 | |
| 296 | 298 | - `run` 运行当前打开的问题 |
| @@ -363,6 +365,8 @@ https://github.com/kawre/leetcode.nvim/assets/69250723/b7be8b95-5e2c-4153-8845-4 | ||
| 363 | 365 | |
| 364 | 366 | ### 💤 使用 [lazy.nvim] 进行延迟加载 |
| 365 | 367 | |
| 368 | +<small>🚨 _**选择其中任一选项将由于延迟加载而使另一启动方法不可用。**_</small> | |
| 369 | + | |
| 366 | 370 | - 使用 [`arg`](#arg) |
| 367 | 371 | |
| 368 | 372 | ```lua |
| @@ -377,7 +381,7 @@ https://github.com/kawre/leetcode.nvim/assets/69250723/b7be8b95-5e2c-4153-8845-4 | ||
| 377 | 381 | } |
| 378 | 382 | ``` |
| 379 | 383 | |
| 380 | -- 使用 `:Leet`,这将导致使用 [`arg`](#arg) 启动不起作用 | |
| 384 | +- 使用 `:Leet` | |
| 381 | 385 | |
| 382 | 386 | ```lua |
| 383 | 387 | { |