mirror of https://github.com/folke/lazy.nvim.git
chore(build): auto-generate docs
This commit is contained in:
parent
cb472b37c8
commit
96ab1dd066
|
@ -140,7 +140,7 @@ require("lazy").setup({
|
||||||
|
|
||||||
# 🔌 Plugin Spec
|
# 🔌 Plugin Spec
|
||||||
|
|
||||||
## Source
|
## Spec Source
|
||||||
|
|
||||||
| Property | Type | Description |
|
| Property | Type | Description |
|
||||||
| --------- | ---------- | -------------------------------------------------------------------------------------------------------------------- |
|
| --------- | ---------- | -------------------------------------------------------------------------------------------------------------------- |
|
||||||
|
@ -152,7 +152,7 @@ require("lazy").setup({
|
||||||
|
|
||||||
A valid spec should define one of `[1]`, `dir` or `url`.
|
A valid spec should define one of `[1]`, `dir` or `url`.
|
||||||
|
|
||||||
## Loading
|
## Spec Loading
|
||||||
|
|
||||||
| Property | Type | Description |
|
| Property | Type | Description |
|
||||||
| ---------------- | --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ---------------- | --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
|
@ -161,7 +161,7 @@ A valid spec should define one of `[1]`, `dir` or `url`.
|
||||||
| **cond** | `boolean?` or `fun(LazyPlugin):boolean` | Behaves the same as `enabled`, but won't uninstall the plugin when the condition is `false`. Useful to disable some plugins in vscode, or firenvim for example. |
|
| **cond** | `boolean?` or `fun(LazyPlugin):boolean` | Behaves the same as `enabled`, but won't uninstall the plugin when the condition is `false`. Useful to disable some plugins in vscode, or firenvim for example. |
|
||||||
| **priority** | `number?` | Only useful for **start** plugins (`lazy=false`) to force loading certain plugins first. Default priority is `50`. It's recommended to set this to a high number for colorschemes. |
|
| **priority** | `number?` | Only useful for **start** plugins (`lazy=false`) to force loading certain plugins first. Default priority is `50`. It's recommended to set this to a high number for colorschemes. |
|
||||||
|
|
||||||
## Setup
|
## Spec Setup
|
||||||
|
|
||||||
| Property | Type | Description |
|
| Property | Type | Description |
|
||||||
| ---------- | --------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ---------- | --------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
|
@ -172,7 +172,7 @@ A valid spec should define one of `[1]`, `dir` or `url`.
|
||||||
| **build** | `fun(LazyPlugin)` or `string` or a list of build commands | `build` is executed when a plugin is installed or updated. Before running `build`, a plugin is first loaded. If it's a string it will be run as a shell command. When prefixed with `:` it is a Neovim command. You can also specify a list to executed multiple build commands. Some plugins provide their own `build.lua` which is automatically used by lazy. So no need to specify a build step for those plugins. |
|
| **build** | `fun(LazyPlugin)` or `string` or a list of build commands | `build` is executed when a plugin is installed or updated. Before running `build`, a plugin is first loaded. If it's a string it will be run as a shell command. When prefixed with `:` it is a Neovim command. You can also specify a list to executed multiple build commands. Some plugins provide their own `build.lua` which is automatically used by lazy. So no need to specify a build step for those plugins. |
|
||||||
| **rocks** | `string[]?` | Add any [luarocks](https://luarocks.org/) dependencies. |
|
| **rocks** | `string[]?` | Add any [luarocks](https://luarocks.org/) dependencies. |
|
||||||
|
|
||||||
## Lazy Loading
|
## Spec Lazy Loading
|
||||||
|
|
||||||
| Property | Type | Description |
|
| Property | Type | Description |
|
||||||
| --------- | ----------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --------- | ----------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
|
@ -184,7 +184,7 @@ A valid spec should define one of `[1]`, `dir` or `url`.
|
||||||
|
|
||||||
Refer to the [Lazy Loading](./lazy_loading.md) section for more information.
|
Refer to the [Lazy Loading](./lazy_loading.md) section for more information.
|
||||||
|
|
||||||
## Versioning
|
## Spec Versioning
|
||||||
|
|
||||||
| Property | Type | Description |
|
| Property | Type | Description |
|
||||||
| -------------- | -------------------------------------------- | -------------------------------------------------------------------------------------------------- |
|
| -------------- | -------------------------------------------- | -------------------------------------------------------------------------------------------------- |
|
||||||
|
@ -197,7 +197,7 @@ Refer to the [Lazy Loading](./lazy_loading.md) section for more information.
|
||||||
|
|
||||||
Refer to the [Versioning](./versioning.md) section for more information.
|
Refer to the [Versioning](./versioning.md) section for more information.
|
||||||
|
|
||||||
## Advanced
|
## Spec Advanced
|
||||||
|
|
||||||
| Property | Type | Description |
|
| Property | Type | Description |
|
||||||
| ------------ | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ------------ | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
|
|
|
@ -10,12 +10,12 @@ Table of Contents *lazy.nvim-table-of-contents*
|
||||||
- Structured Setup |lazy.nvim-🛠️-installation-structured-setup|
|
- Structured Setup |lazy.nvim-🛠️-installation-structured-setup|
|
||||||
- Single File Setup |lazy.nvim-🛠️-installation-single-file-setup|
|
- Single File Setup |lazy.nvim-🛠️-installation-single-file-setup|
|
||||||
3. 🔌 Plugin Spec |lazy.nvim-🔌-plugin-spec|
|
3. 🔌 Plugin Spec |lazy.nvim-🔌-plugin-spec|
|
||||||
- Source |lazy.nvim-🔌-plugin-spec-source|
|
- Spec Source |lazy.nvim-🔌-plugin-spec-spec-source|
|
||||||
- Loading |lazy.nvim-🔌-plugin-spec-loading|
|
- Spec Loading |lazy.nvim-🔌-plugin-spec-spec-loading|
|
||||||
- Setup |lazy.nvim-🔌-plugin-spec-setup|
|
- Spec Setup |lazy.nvim-🔌-plugin-spec-spec-setup|
|
||||||
- Lazy Loading |lazy.nvim-🔌-plugin-spec-lazy-loading|
|
- Spec Lazy Loading |lazy.nvim-🔌-plugin-spec-spec-lazy-loading|
|
||||||
- Versioning |lazy.nvim-🔌-plugin-spec-versioning|
|
- Spec Versioning |lazy.nvim-🔌-plugin-spec-spec-versioning|
|
||||||
- Advanced |lazy.nvim-🔌-plugin-spec-advanced|
|
- Spec Advanced |lazy.nvim-🔌-plugin-spec-spec-advanced|
|
||||||
- Examples |lazy.nvim-🔌-plugin-spec-examples|
|
- Examples |lazy.nvim-🔌-plugin-spec-examples|
|
||||||
- Lazy Loading |lazy.nvim-🔌-plugin-spec-lazy-loading|
|
- Lazy Loading |lazy.nvim-🔌-plugin-spec-lazy-loading|
|
||||||
- Versioning |lazy.nvim-🔌-plugin-spec-versioning|
|
- Versioning |lazy.nvim-🔌-plugin-spec-versioning|
|
||||||
|
@ -164,7 +164,7 @@ SINGLE FILE SETUP *lazy.nvim-🛠️-installation-single-file-setup*
|
||||||
3. 🔌 Plugin Spec *lazy.nvim-🔌-plugin-spec*
|
3. 🔌 Plugin Spec *lazy.nvim-🔌-plugin-spec*
|
||||||
|
|
||||||
|
|
||||||
SOURCE *lazy.nvim-🔌-plugin-spec-source*
|
SPEC SOURCE *lazy.nvim-🔌-plugin-spec-spec-source*
|
||||||
|
|
||||||
-----------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------
|
||||||
Property Type Description
|
Property Type Description
|
||||||
|
@ -185,7 +185,7 @@ SOURCE *lazy.nvim-🔌-plugin-spec-source*
|
||||||
A valid spec should define one of `[1]`, `dir` or `url`.
|
A valid spec should define one of `[1]`, `dir` or `url`.
|
||||||
|
|
||||||
|
|
||||||
LOADING *lazy.nvim-🔌-plugin-spec-loading*
|
SPEC LOADING *lazy.nvim-🔌-plugin-spec-spec-loading*
|
||||||
|
|
||||||
--------------------------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------------------------
|
||||||
Property Type Description
|
Property Type Description
|
||||||
|
@ -209,7 +209,7 @@ LOADING *lazy.nvim-🔌-plugin-spec-loading*
|
||||||
colorschemes.
|
colorschemes.
|
||||||
--------------------------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
SETUP *lazy.nvim-🔌-plugin-spec-setup*
|
SPEC SETUP *lazy.nvim-🔌-plugin-spec-spec-setup*
|
||||||
|
|
||||||
-----------------------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------------------
|
||||||
Property Type Description
|
Property Type Description
|
||||||
|
@ -244,7 +244,7 @@ SETUP *lazy.nvim-🔌-plugin-spec-setup*
|
||||||
rocks string[]? Add any luarocks dependencies.
|
rocks string[]? Add any luarocks dependencies.
|
||||||
-----------------------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
LAZY LOADING *lazy.nvim-🔌-plugin-spec-lazy-loading*
|
SPEC LAZY LOADING *lazy.nvim-🔌-plugin-spec-spec-lazy-loading*
|
||||||
|
|
||||||
--------------------------------------------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------------------------------------------
|
||||||
Property Type Description
|
Property Type Description
|
||||||
|
@ -271,7 +271,7 @@ LAZY LOADING *lazy.nvim-🔌-plugin-spec-lazy-loading*
|
||||||
Refer to the Lazy Loading <./lazy_loading.md> section for more information.
|
Refer to the Lazy Loading <./lazy_loading.md> section for more information.
|
||||||
|
|
||||||
|
|
||||||
VERSIONING *lazy.nvim-🔌-plugin-spec-versioning*
|
SPEC VERSIONING *lazy.nvim-🔌-plugin-spec-spec-versioning*
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
Property Type Description
|
Property Type Description
|
||||||
|
@ -294,7 +294,7 @@ VERSIONING *lazy.nvim-🔌-plugin-spec-versioning*
|
||||||
Refer to the Versioning <./versioning.md> section for more information.
|
Refer to the Versioning <./versioning.md> section for more information.
|
||||||
|
|
||||||
|
|
||||||
ADVANCED *lazy.nvim-🔌-plugin-spec-advanced*
|
SPEC ADVANCED *lazy.nvim-🔌-plugin-spec-spec-advanced*
|
||||||
|
|
||||||
----------------------------------------------------------------------------------------
|
----------------------------------------------------------------------------------------
|
||||||
Property Type Description
|
Property Type Description
|
||||||
|
|
Loading…
Reference in New Issue