docs: format table

This commit is contained in:
Folke Lemaitre 2023-10-10 19:12:07 +02:00
parent 1a47d3b2aa
commit cb3a0555b9
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 51 additions and 51 deletions

102
README.md
View File

@ -506,24 +506,24 @@ Any operation can be started from the UI, with a sub command or an API function:
<!-- commands:start --> <!-- commands:start -->
| Command | Lua | Description | | Command | Lua | Description |
| --- | --- | --- | | ------------------------- | -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| `:Lazy build {plugins}` | `require("lazy").build(opts)` | Rebuild a plugin | | `:Lazy build {plugins}` | `require("lazy").build(opts)` | Rebuild a plugin |
| `:Lazy check [plugins]` | `require("lazy").check(opts?)` | Check for updates and show the log (git fetch) | | `:Lazy check [plugins]` | `require("lazy").check(opts?)` | Check for updates and show the log (git fetch) |
| `:Lazy clean [plugins]` | `require("lazy").clean(opts?)` | Clean plugins that are no longer needed | | `:Lazy clean [plugins]` | `require("lazy").clean(opts?)` | Clean plugins that are no longer needed |
| `:Lazy clear` | `require("lazy").clear()` | Clear finished tasks | | `:Lazy clear` | `require("lazy").clear()` | Clear finished tasks |
| `:Lazy debug` | `require("lazy").debug()` | Show debug information | | `:Lazy debug` | `require("lazy").debug()` | Show debug information |
| `:Lazy health` | `require("lazy").health()` | Run `:checkhealth lazy` | | `:Lazy health` | `require("lazy").health()` | Run `:checkhealth lazy` |
| `:Lazy help` | `require("lazy").help()` | Toggle this help page | | `:Lazy help` | `require("lazy").help()` | Toggle this help page |
| `:Lazy home` | `require("lazy").home()` | Go back to plugin list | | `:Lazy home` | `require("lazy").home()` | Go back to plugin list |
| `:Lazy install [plugins]` | `require("lazy").install(opts?)` | Install missing plugins | | `:Lazy install [plugins]` | `require("lazy").install(opts?)` | Install missing plugins |
| `:Lazy load {plugins}` | `require("lazy").load(opts)` | Load a plugin that has not been loaded yet. Similar to `:packadd`. Like `:Lazy load foo.nvim`. Use `:Lazy! load` to skip `cond` checks. | | `:Lazy load {plugins}` | `require("lazy").load(opts)` | Load a plugin that has not been loaded yet. Similar to `:packadd`. Like `:Lazy load foo.nvim`. Use `:Lazy! load` to skip `cond` checks. |
| `:Lazy log [plugins]` | `require("lazy").log(opts?)` | Show recent updates | | `:Lazy log [plugins]` | `require("lazy").log(opts?)` | Show recent updates |
| `:Lazy profile` | `require("lazy").profile()` | Show detailed profiling | | `:Lazy profile` | `require("lazy").profile()` | Show detailed profiling |
| `:Lazy reload {plugins}` | `require("lazy").reload(opts)` | Reload a plugin (experimental!!) | | `:Lazy reload {plugins}` | `require("lazy").reload(opts)` | Reload a plugin (experimental!!) |
| `:Lazy restore [plugins]` | `require("lazy").restore(opts?)` | Updates all plugins to the state in the lockfile. For a single plugin: restore it to the state in the lockfile or to a given commit under the cursor | | `:Lazy restore [plugins]` | `require("lazy").restore(opts?)` | Updates all plugins to the state in the lockfile. For a single plugin: restore it to the state in the lockfile or to a given commit under the cursor |
| `:Lazy sync [plugins]` | `require("lazy").sync(opts?)` | Run install, clean and update | | `:Lazy sync [plugins]` | `require("lazy").sync(opts?)` | Run install, clean and update |
| `:Lazy update [plugins]` | `require("lazy").update(opts?)` | Update plugins. This will also update the lockfile | | `:Lazy update [plugins]` | `require("lazy").update(opts?)` | Update plugins. This will also update the lockfile |
<!-- commands:end --> <!-- commands:end -->
@ -774,40 +774,40 @@ To uninstall **lazy.nvim**, you need to remove the following files and directori
<!-- colors:start --> <!-- colors:start -->
| Highlight Group | Default Group | Description | | Highlight Group | Default Group | Description |
| --- | --- | --- | | --------------------- | -------------------------- | --------------------------------------------------- |
| **LazyButton** | ***CursorLine*** | | | **LazyButton** | **_CursorLine_** | |
| **LazyButtonActive** | ***Visual*** | | | **LazyButtonActive** | **_Visual_** | |
| **LazyComment** | ***Comment*** | | | **LazyComment** | **_Comment_** | |
| **LazyCommit** | ***@variable.builtin*** | commit ref | | **LazyCommit** | **_@variable.builtin_** | commit ref |
| **LazyCommitIssue** | ***Number*** | | | **LazyCommitIssue** | **_Number_** | |
| **LazyCommitScope** | ***Italic*** | conventional commit scope | | **LazyCommitScope** | **_Italic_** | conventional commit scope |
| **LazyCommitType** | ***Title*** | conventional commit type | | **LazyCommitType** | **_Title_** | conventional commit type |
| **LazyDimmed** | ***Conceal*** | property | | **LazyDimmed** | **_Conceal_** | property |
| **LazyDir** | ***@text.reference*** | directory | | **LazyDir** | **_@text.reference_** | directory |
| **LazyH1** | ***IncSearch*** | home button | | **LazyH1** | **_IncSearch_** | home button |
| **LazyH2** | ***Bold*** | titles | | **LazyH2** | **_Bold_** | titles |
| **LazyLocal** | ***Constant*** | | | **LazyLocal** | **_Constant_** | |
| **LazyNoCond** | ***DiagnosticWarn*** | unloaded icon for a plugin where `cond()` was false | | **LazyNoCond** | **_DiagnosticWarn_** | unloaded icon for a plugin where `cond()` was false |
| **LazyNormal** | ***NormalFloat*** | | | **LazyNormal** | **_NormalFloat_** | |
| **LazyProgressDone** | ***Constant*** | progress bar done | | **LazyProgressDone** | **_Constant_** | progress bar done |
| **LazyProgressTodo** | ***LineNr*** | progress bar todo | | **LazyProgressTodo** | **_LineNr_** | progress bar todo |
| **LazyProp** | ***Conceal*** | property | | **LazyProp** | **_Conceal_** | property |
| **LazyReasonCmd** | ***Operator*** | | | **LazyReasonCmd** | **_Operator_** | |
| **LazyReasonEvent** | ***Constant*** | | | **LazyReasonEvent** | **_Constant_** | |
| **LazyReasonFt** | ***Character*** | | | **LazyReasonFt** | **_Character_** | |
| **LazyReasonImport** | ***Identifier*** | | | **LazyReasonImport** | **_Identifier_** | |
| **LazyReasonKeys** | ***Statement*** | | | **LazyReasonKeys** | **_Statement_** | |
| **LazyReasonPlugin** | ***Special*** | | | **LazyReasonPlugin** | **_Special_** | |
| **LazyReasonRequire** | ***@parameter*** | | | **LazyReasonRequire** | **_@parameter_** | |
| **LazyReasonRuntime** | ***@macro*** | | | **LazyReasonRuntime** | **_@macro_** | |
| **LazyReasonSource** | ***Character*** | | | **LazyReasonSource** | **_Character_** | |
| **LazyReasonStart** | ***@field*** | | | **LazyReasonStart** | **_@field_** | |
| **LazySpecial** | ***@punctuation.special*** | | | **LazySpecial** | **_@punctuation.special_** | |
| **LazyTaskError** | ***ErrorMsg*** | task errors | | **LazyTaskError** | **_ErrorMsg_** | task errors |
| **LazyTaskOutput** | ***MsgArea*** | task output | | **LazyTaskOutput** | **_MsgArea_** | task output |
| **LazyUrl** | ***@text.reference*** | url | | **LazyUrl** | **_@text.reference_** | url |
| **LazyValue** | ***@string*** | value of a property | | **LazyValue** | **_@string_** | value of a property |
<!-- colors:end --> <!-- colors:end -->