mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat: added module=false
to skip auto-loading of plugins on require
This commit is contained in:
parent
55d194cf9c
commit
1efa710210
3 changed files with 5 additions and 1 deletions
|
@ -108,6 +108,9 @@ module of plugin `A`, then plugin `A` will be loaded on demand as expected.
|
|||
|
||||
You can configure **lazy.nvim** to lazy-load all plugins by default with `config.defaults.lazy = true`.
|
||||
|
||||
If you don't want this behavior for a certain plugin, you can specify that with `module=false`.
|
||||
You can then manually load the plugin with `:Lazy load foobar.nvim`.
|
||||
|
||||
Additionally, you can also lazy-load on **events**, **commands**,
|
||||
**file types** and **key mappings**.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue