mirror of https://github.com/folke/lazy.nvim.git
chore(build): auto-generate vimdoc
This commit is contained in:
parent
189371c8d8
commit
d65d5441d9
|
@ -405,7 +405,7 @@ CONFIGURATION *lazy.nvim-lazy.nvim-configuration*
|
||||||
-- leave nil when passing the spec as the first argument to setup()
|
-- leave nil when passing the spec as the first argument to setup()
|
||||||
spec = nil, ---@type LazySpec
|
spec = nil, ---@type LazySpec
|
||||||
lockfile = vim.fn.stdpath("config") .. "/lazy-lock.json", -- lockfile generated after running update.
|
lockfile = vim.fn.stdpath("config") .. "/lazy-lock.json", -- lockfile generated after running update.
|
||||||
concurrency = nil, ---@type number limit the maximum amount of concurrent tasks
|
concurrency = jit.os:find("Windows") and (vim.loop.available_parallelism() 2) or nil, ---@type number limit the maximum amount of concurrent tasks
|
||||||
git = {
|
git = {
|
||||||
-- defaults for the `Lazy log` command
|
-- defaults for the `Lazy log` command
|
||||||
-- log = { "-10" }, -- show the last 10 commits
|
-- log = { "-10" }, -- show the last 10 commits
|
||||||
|
@ -538,6 +538,12 @@ CONFIGURATION *lazy.nvim-lazy.nvim-configuration*
|
||||||
skip_if_doc_exists = true,
|
skip_if_doc_exists = true,
|
||||||
},
|
},
|
||||||
state = vim.fn.stdpath("state") .. "/lazy/state.json", -- state info for checker and other things
|
state = vim.fn.stdpath("state") .. "/lazy/state.json", -- state info for checker and other things
|
||||||
|
build = {
|
||||||
|
-- Plugins can provide a `build.lua` file that will be executed when the plugin is installed
|
||||||
|
-- or updated. When the plugin spec also has a `build` command, the plugin's `build.lua` not be
|
||||||
|
-- executed. In this case, a warning message will be shown.
|
||||||
|
warn_on_override = true,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
<
|
<
|
||||||
|
|
||||||
|
@ -609,6 +615,8 @@ function:
|
||||||
|
|
||||||
: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 restore [plugins] require("lazy").restore(opts?) Updates all plugins to the state in the lockfile.
|
: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
|
For a single plugin: restore it to the state in the
|
||||||
lockfile or to a given commit under the cursor
|
lockfile or to a given commit under the cursor
|
||||||
|
|
Loading…
Reference in New Issue