mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat(loader): automatically lazy-load colorschemes
This commit is contained in:
parent
210d1703ec
commit
07b467738d
2 changed files with 26 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
- 🔎 Automatically check for updates
|
||||
- 📋 Commit, branch, tag, version, and full [Semver](https://devhints.io/semver) support
|
||||
- 📈 Statusline component to see the number of pending updates
|
||||
- 🎨 Automatically lazy-loads colorschemes
|
||||
|
||||
## ⚡️ Requirements
|
||||
|
||||
|
@ -112,6 +113,9 @@ module of plugin `A`, then plugin `A` will be loaded on demand as expected.
|
|||
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`.
|
||||
|
||||
Colorscheme plugins can be configured with `lazy=true`. The plugin will automagically load
|
||||
when doing `colorscheme foobar`.
|
||||
|
||||
You can configure **lazy.nvim** to lazy-load all plugins by default with `config.defaults.lazy = true`.
|
||||
|
||||
Additionally, you can also lazy-load on **events**, **commands**,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue