From d65d5441d997c98be8c261ca8537694c5f4642be Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 30 Jun 2023 19:20:17 +0000 Subject: [PATCH] chore(build): auto-generate vimdoc --- doc/lazy.nvim.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/lazy.nvim.txt b/doc/lazy.nvim.txt index 51c9d09..6fe0750 100644 --- a/doc/lazy.nvim.txt +++ b/doc/lazy.nvim.txt @@ -405,7 +405,7 @@ CONFIGURATION *lazy.nvim-lazy.nvim-configuration* -- leave nil when passing the spec as the first argument to setup() spec = nil, ---@type LazySpec 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 = { -- defaults for the `Lazy log` command -- log = { "-10" }, -- show the last 10 commits @@ -538,6 +538,12 @@ CONFIGURATION *lazy.nvim-lazy.nvim-configuration* skip_if_doc_exists = true, }, 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 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