From 317df42fcf05761e2e8526d91f282a0f868ff766 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 6 Jan 2023 06:13:06 +0000 Subject: [PATCH] chore(build): auto-generate vimdoc --- doc/lazy.nvim.txt | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/doc/lazy.nvim.txt b/doc/lazy.nvim.txt index 9f8d335..d7a0510 100644 --- a/doc/lazy.nvim.txt +++ b/doc/lazy.nvim.txt @@ -1,4 +1,4 @@ -*lazy.nvim.txt* For Neovim >= 0.8.0 Last change: 2023 January 05 +*lazy.nvim.txt* For Neovim >= 0.8.0 Last change: 2023 January 06 ============================================================================== Table of Contents *lazy.nvim-table-of-contents* @@ -347,6 +347,8 @@ CONFIGURATION *lazy.nvim-configuration* version = nil, -- version = "", -- enable this to try installing the latest stable versions of plugins }, + -- 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 git = { @@ -374,20 +376,21 @@ CONFIGURATION *lazy.nvim-configuration* -- The border to use for the UI window. Accepts same border values as |nvim_open_win()|. border = "none", icons = { - loaded = "", - not_loaded = "", cmd = " ", config = "", event = "", ft = " ", init = " ", + import = " ", keys = " ", + lazy = " ", + loaded = "", + not_loaded = "", plugin = " ", runtime = " ", source = " ", start = "", task = " ", - lazy = " ", list = { "", "", @@ -405,21 +408,15 @@ CONFIGURATION *lazy.nvim-configuration* -- open lazygit log ["l"] = function(plugin) - require("lazy.util").open_cmd({ "lazygit", "log" }, { + require("lazy.util").float_term({ "lazygit", "log" }, { cwd = plugin.dir, - terminal = true, - close_on_exit = true, - enter = true, }) end, -- open a terminal for the plugin dir ["t"] = function(plugin) - require("lazy.util").open_cmd({ vim.go.shell }, { + require("lazy.util").float_term(nil, { cwd = plugin.dir, - terminal = true, - close_on_exit = true, - enter = true, }) end, }, @@ -454,7 +451,7 @@ CONFIGURATION *lazy.nvim-configuration* -- The default is to disable on: -- VimEnter: not useful to cache anything else beyond startup -- BufReadPre: this will be triggered early when opening a file from the command line directly - disable_events = { "VimEnter", "BufReadPre" }, + disable_events = { "UIEnter", "BufReadPre" }, ttl = 3600 24 5, -- keep unused modules for up to 5 days }, reset_packpath = true, -- reset the package path to improve startup time @@ -537,7 +534,7 @@ function: │:Lazy help │require("lazy").help() │Toggle this help page │ │:Lazy home │require("lazy").home() │Go back to plugin list │ │: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 │ +│: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 profile │require("lazy").profile() │Show detailed profiling │ │: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│ @@ -571,9 +568,11 @@ Stats API (`require("lazy").stats()`): -- when true, startuptime is the accurate cputime for the Neovim process. (Linux & Macos) -- this is more accurate than `nvim --startuptime`, and as such will be slightly higher -- when false, startuptime is calculated based on a delta with a timestamp when lazy started. - startuptime_cputime = false, + real_cputime = false, count = 0, -- total number of plugins loaded = 0, -- number of loaded plugins + ---@type table + times = {}, } < @@ -809,6 +808,7 @@ Click to see all highlight groups │**LazyReasonCmd** │**_Operator_** │ │ │**LazyReasonEvent** │**_Constant_** │ │ │**LazyReasonFt** │**_Character_** │ │ +│**LazyReasonImport** │**_Identifier_** │ │ │**LazyReasonKeys** │**_Statement_** │ │ │**LazyReasonPlugin** │**_Special_** │ │ │**LazyReasonRuntime**│_macro │ │