From f613a08255bde7e48fd3e9accf6ae9bc7b907084 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sat, 7 Jan 2023 11:59:13 +0100 Subject: [PATCH] docs: added TLDR --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 66dd771b..7b5cbe0c 100644 --- a/README.md +++ b/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