irongit

A Neovim plugin enabling you to solve LeetCode problems.

docs: update lazy loading

kawreauthored
parent 1fcd2eecommit 799b264440778e13d407bda8ce80a9b9ca1ea2b5Browse files

2 files changed, +11 -2

+6-1README.md
@@ -288,6 +288,8 @@ image_support = false,
288288
289289 - `tabs` opens a picker with all currently opened question tabs
290290
291+- `yank` yanks the current question solution
292+
291293 - `lang` opens a picker to change the language of the current question
292294
293295 - `run` run currently opened question
@@ -361,6 +363,9 @@ https://github.com/kawre/leetcode.nvim/assets/69250723/b7be8b95-5e2c-4153-8845-4
361363
362364 ### 💤 lazy loading with [lazy.nvim]
363365
366+<small>🚨 _**opting for either option makes the alternative
367+launch method unavailable due to lazy loading.**_</small>
368+
364369 - with [`arg`](#arg)
365370
366371 ```lua
@@ -375,7 +380,7 @@ https://github.com/kawre/leetcode.nvim/assets/69250723/b7be8b95-5e2c-4153-8845-4
375380 }
376381 ```
377382
378-- with `:Leet`, this will make launching with [`arg`](#arg) not work
383+- with `:Leet`
379384
380385 ```lua
381386 {
+5-1README.zh.md
@@ -291,6 +291,8 @@ image_support = false, -- 将此设置为 `true` 将禁用问题描述的换行
291291
292292 - `tabs` 打开所有当前打开问题选项卡的选择器
293293
294+- `yank` 复制当前问题的解决方案
295+
294296 - `lang` 打开更改当前问题语言的选择器
295297
296298 - `run` 运行当前打开的问题
@@ -363,6 +365,8 @@ https://github.com/kawre/leetcode.nvim/assets/69250723/b7be8b95-5e2c-4153-8845-4
363365
364366 ### 💤 使用 [lazy.nvim] 进行延迟加载
365367
368+<small>🚨 _**选择其中任一选项将由于延迟加载而使另一启动方法不可用。**_</small>
369+
366370 - 使用 [`arg`](#arg)
367371
368372 ```lua
@@ -377,7 +381,7 @@ https://github.com/kawre/leetcode.nvim/assets/69250723/b7be8b95-5e2c-4153-8845-4
377381 }
378382 ```
379383
380-- 使用 `:Leet`,这将导致使用 [`arg`](#arg) 启动不起作用
384+- 使用 `:Leet`
381385
382386 ```lua
383387 {