From dec794ac856baf3bad9f6820c1cc0632717ad0c8 Mon Sep 17 00:00:00 2001 From: teleivo Date: Thu, 6 Mar 2025 11:33:52 +0100 Subject: [PATCH] fix: contradictory lazy.nvim installation spec (#1506) setting `lazy=false` means eagerly loading the plugin while `event = "VeryLazy"` suggests the plugin should be lazy loaded https://lazy.folke.io/spec/lazy_loading > Plugins will be lazy-loaded when one of the following is true: > > * The plugin only exists as a dependency in your spec > * It has an event, cmd, ft or keys key > * config.defaults.lazy == true see example https://github.com/folke/lazy.nvim/blob/6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a/lua/lazy/example.lua#L58-L60 --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 026da5d..05130e7 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,6 @@ For building binary if you wish to build from source, then `cargo` is required. { "yetone/avante.nvim", event = "VeryLazy", - lazy = false, version = false, -- Set this to "*" to always pull the latest release version, or set it to false to update to the latest code changes. opts = { -- add any opts here