From 7ca0746fbf9f571911be7d17333fe242854a1c90 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 14 Dec 2022 20:59:50 +0000 Subject: [PATCH] chore(build): auto-generate vimdoc --- doc/lazy.nvim.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/lazy.nvim.txt b/doc/lazy.nvim.txt index a98b330..6fed76d 100644 --- a/doc/lazy.nvim.txt +++ b/doc/lazy.nvim.txt @@ -151,8 +151,16 @@ CONFIGURATION *lazy.nvim-configuration* frequency = 3600, -- check for updates every hour }, performance = { - ---@type LazyCacheConfig - cache = nil, + cache = { + enabled = true, + path = vim.fn.stdpath("state") .. "/lazy.state", + -- Once one of the following events triggers, caching will be disabled. + -- To cache all modules, set this to `{}`, but that is not recommended. + -- 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" }, + }, reset_packpath = true, -- reset the package path to improve startup time rtp = { reset = true, -- reset the runtime path to $VIMRUNTIME and your config directory