mirror of https://github.com/folke/lazy.nvim.git
chore(build): auto-generate vimdoc
This commit is contained in:
parent
a2fdf369f2
commit
5a5487b015
|
@ -535,11 +535,19 @@ example, if you want to sync lazy from the cmdline, you can use:
|
||||||
- **concurrency**: limit the `number` of concurrently running tasks
|
- **concurrency**: limit the `number` of concurrently running tasks
|
||||||
|
|
||||||
|
|
||||||
If you want to display the number of plugins on your dashboard, you can use
|
Stats API (`require("lazy").stats()`):
|
||||||
this simple API:
|
|
||||||
|
|
||||||
>lua
|
>lua
|
||||||
local plugins = require("lazy").stats().count
|
{
|
||||||
|
-- startuptime in milliseconds till UIEnter
|
||||||
|
startuptime = 0,
|
||||||
|
-- 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,
|
||||||
|
count = 0, -- total number of plugins
|
||||||
|
loaded = 0, -- number of loaded plugins
|
||||||
|
}
|
||||||
<
|
<
|
||||||
|
|
||||||
|
|
||||||
|
@ -578,6 +586,8 @@ The following user events will be triggered:
|
||||||
- **LazyLog**: after running log
|
- **LazyLog**: after running log
|
||||||
- **LazyReload**: triggered by change detection after reloading plugin specs
|
- **LazyReload**: triggered by change detection after reloading plugin specs
|
||||||
- **VeryLazy**: triggered after `LazyDone` and processing `VimEnter` auto commands
|
- **VeryLazy**: triggered after `LazyDone` and processing `VimEnter` auto commands
|
||||||
|
- **LazyVimStarted**: triggered after `UIEnter` when `require("lazy").stats().startuptime` has been calculated.
|
||||||
|
Useful to update the startuptime on your dashboard.
|
||||||
|
|
||||||
|
|
||||||
LOCKFILE `LAZY-LOCK.JSON` *lazy.nvim-lockfile-`lazy-lock.json`*
|
LOCKFILE `LAZY-LOCK.JSON` *lazy.nvim-lockfile-`lazy-lock.json`*
|
||||||
|
|
Loading…
Reference in New Issue