docs: added a section on startup sequence

This commit is contained in:
Folke Lemaitre 2022-12-16 15:10:05 +01:00
parent 0df47d91d1
commit c5d092ed9e
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 9 additions and 0 deletions

View File

@ -34,6 +34,7 @@
- [🚀 Usage](#-usage)
- [📊 Profiler](#-profiler)
- [🪲 Debug](#-debug)
- [▶️ Startup Sequence](#-startup-sequence)
- [📦 Differences with Packer](#-differences-with-packer)
- [📦 Other Neovim Plugin Managers in Lua](#-other-neovim-plugin-managers-in-lua)
@ -305,6 +306,14 @@ See an overview of active lazy-loading handlers and what's in the module cache
![image](https://user-images.githubusercontent.com/292349/207703522-8bb20678-bb4c-4424-80e4-add3219711c3.png)
## ▶️ Startup Sequence
**lazy.nvim** does **NOT** use Neovim packages and even disables plugin loading
completely (`vim.go.loadplugins = false`). It takes over the complete
startup sequence for more flexibility and better performance.
In practice this means that step 10 of [Neovim Initialization](https://neovim.io/doc/user/starting.html#initialization) is done by Lazy.
## 📦 Differences with Packer
- **Plugin Spec**: