mirror of https://github.com/folke/lazy.nvim.git
chore(build): auto-generate vimdoc
This commit is contained in:
parent
eed1ef3c2d
commit
317df42fcf
|
@ -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*
|
Table of Contents *lazy.nvim-table-of-contents*
|
||||||
|
@ -347,6 +347,8 @@ CONFIGURATION *lazy.nvim-configuration*
|
||||||
version = nil,
|
version = nil,
|
||||||
-- version = "", -- enable this to try installing the latest stable versions of plugins
|
-- 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.
|
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 = nil, ---@type number limit the maximum amount of concurrent tasks
|
||||||
git = {
|
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()|.
|
-- The border to use for the UI window. Accepts same border values as |nvim_open_win()|.
|
||||||
border = "none",
|
border = "none",
|
||||||
icons = {
|
icons = {
|
||||||
loaded = "",
|
|
||||||
not_loaded = "",
|
|
||||||
cmd = " ",
|
cmd = " ",
|
||||||
config = "",
|
config = "",
|
||||||
event = "",
|
event = "",
|
||||||
ft = " ",
|
ft = " ",
|
||||||
init = " ",
|
init = " ",
|
||||||
|
import = " ",
|
||||||
keys = " ",
|
keys = " ",
|
||||||
|
lazy = " ",
|
||||||
|
loaded = "",
|
||||||
|
not_loaded = "",
|
||||||
plugin = " ",
|
plugin = " ",
|
||||||
runtime = " ",
|
runtime = " ",
|
||||||
source = " ",
|
source = " ",
|
||||||
start = "",
|
start = "",
|
||||||
task = " ",
|
task = " ",
|
||||||
lazy = " ",
|
|
||||||
list = {
|
list = {
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
@ -405,21 +408,15 @@ CONFIGURATION *lazy.nvim-configuration*
|
||||||
|
|
||||||
-- open lazygit log
|
-- open lazygit log
|
||||||
["<localleader>l"] = function(plugin)
|
["<localleader>l"] = function(plugin)
|
||||||
require("lazy.util").open_cmd({ "lazygit", "log" }, {
|
require("lazy.util").float_term({ "lazygit", "log" }, {
|
||||||
cwd = plugin.dir,
|
cwd = plugin.dir,
|
||||||
terminal = true,
|
|
||||||
close_on_exit = true,
|
|
||||||
enter = true,
|
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
|
||||||
-- open a terminal for the plugin dir
|
-- open a terminal for the plugin dir
|
||||||
["<localleader>t"] = function(plugin)
|
["<localleader>t"] = function(plugin)
|
||||||
require("lazy.util").open_cmd({ vim.go.shell }, {
|
require("lazy.util").float_term(nil, {
|
||||||
cwd = plugin.dir,
|
cwd = plugin.dir,
|
||||||
terminal = true,
|
|
||||||
close_on_exit = true,
|
|
||||||
enter = true,
|
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
@ -454,7 +451,7 @@ CONFIGURATION *lazy.nvim-configuration*
|
||||||
-- The default is to disable on:
|
-- The default is to disable on:
|
||||||
-- VimEnter: not useful to cache anything else beyond startup
|
-- VimEnter: not useful to cache anything else beyond startup
|
||||||
-- BufReadPre: this will be triggered early when opening a file from the command line directly
|
-- 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
|
ttl = 3600 24 5, -- keep unused modules for up to 5 days
|
||||||
},
|
},
|
||||||
reset_packpath = true, -- reset the package path to improve startup time
|
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 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 │
|
│: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 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│
|
||||||
|
@ -571,9 +568,11 @@ Stats API (`require("lazy").stats()`):
|
||||||
-- when true, startuptime is the accurate cputime for the Neovim process. (Linux & Macos)
|
-- 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
|
-- 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.
|
-- 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
|
count = 0, -- total number of plugins
|
||||||
loaded = 0, -- number of loaded plugins
|
loaded = 0, -- number of loaded plugins
|
||||||
|
---@type table<string, number>
|
||||||
|
times = {},
|
||||||
}
|
}
|
||||||
<
|
<
|
||||||
|
|
||||||
|
@ -809,6 +808,7 @@ Click to see all highlight groups
|
||||||
│**LazyReasonCmd** │**_Operator_** │ │
|
│**LazyReasonCmd** │**_Operator_** │ │
|
||||||
│**LazyReasonEvent** │**_Constant_** │ │
|
│**LazyReasonEvent** │**_Constant_** │ │
|
||||||
│**LazyReasonFt** │**_Character_** │ │
|
│**LazyReasonFt** │**_Character_** │ │
|
||||||
|
│**LazyReasonImport** │**_Identifier_** │ │
|
||||||
│**LazyReasonKeys** │**_Statement_** │ │
|
│**LazyReasonKeys** │**_Statement_** │ │
|
||||||
│**LazyReasonPlugin** │**_Special_** │ │
|
│**LazyReasonPlugin** │**_Special_** │ │
|
||||||
│**LazyReasonRuntime**│_macro │ │
|
│**LazyReasonRuntime**│_macro │ │
|
||||||
|
|
Loading…
Reference in New Issue