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
6c3bda4aca/lua/lazy/example.lua (L58-L60)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user