docs: added TLDR

This commit is contained in:
Folke Lemaitre 2023-01-07 11:59:13 +01:00
parent 9d516c9569
commit f613a08255
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -16,6 +16,23 @@ or disable plugins.
You can find a starter template for **LazyVim** [here](https://github.com/LazyVim/starter)
**TLDR:**
```lua
require("lazy").setup({
spec = {
-- import LazyVim plugins
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
-- import/override with your plugins
{ import = "plugins" },
},
defaults = {
lazy = true, -- every plugin is lazy-loaded by default
version = "*", -- try installing the latest stable version for plugins that support semver
},
})
```
## ✅ Todo
- [ ] documentation