mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-03-10 09:27:25 +00:00
docs: added TLDR
This commit is contained in:
17
README.md
17
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user