chore(build): auto-generate vimdoc

This commit is contained in:
github-actions[bot] 2022-12-20 10:40:52 +00:00
parent 17fd57a5f3
commit 7225b055f5
1 changed files with 32 additions and 0 deletions

View File

@ -405,6 +405,35 @@ Any operation can alternatively be started with a sub command or API function:
│:Lazy load {plugins} │require("lazy").load(plugins) │Load a plugin that has not been loaded yet. Similar to :packadd. Like :Lazy load foo.nvim │
If you want to display the number of plugins on your dashboard, you can use
this simple API:
>lua
local plugins = require("lazy").stats().count
<
**lazy.nvim** provides a statusline component that you can use to show the
number of pending updates. Make sure to enable `config.checker.enabled = true`
to make this work.
Example of configuring <a href="https://github.com/nvim-lualine/lualine.nvim">lualine.nvim</a>
>lua
require("lualine").setup({
sections = {
lualine_x = {
{
require("lazy.status").updates,
cond = require("lazy.status").has_updates,
color = { fg = "ff9e64" },
},
},
},
})
<
LOCKFILE `LAZY-LOCK.JSON` *lazy.nvim-lockfile-`lazy-lock.json`*
After every **update**, the local lockfile is updated with the installed
@ -423,6 +452,9 @@ as possible. During startup, all lua files used before `VimEnter` or
`BufReadPre` are byte-compiled and cached, similar to what impatient.nvim
<https://github.com/lewis6991/impatient.nvim> does.
My config for example loads in about `11ms` with `93` plugins. I do a lot of
lazy-loading though :)
**lazy.nvim** comes with an advanced profiler `:Lazy profile` to help you
improve performance. The profiling view shows you why and how long it took to
load your plugins.