summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorFolke Lemaitre <folke.lemaitre@gmail.com>2023-01-16 16:53:22 +0100
committerFolke Lemaitre <folke.lemaitre@gmail.com>2023-01-16 16:53:22 +0100
commit979dfdc5bb31c0df98a123803f9bb7f3a1ad67e1 (patch)
tree3a5d28dcaba8d62f25cafd83b7fc53f9db328788 /lua
parent888600e7ff4b0d8be0db18db932632830bfb7804 (diff)
feat(lazy): set `config.defaults.lazy = false`. Better for new users
Diffstat (limited to 'lua')
-rw-r--r--lua/config/lazy.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua
index 8a3b188..8a318d3 100644
--- a/lua/config/lazy.lua
+++ b/lua/config/lazy.lua
@@ -17,7 +17,9 @@ require("lazy").setup({
-- { import = "lazyvim.plugins.extras.lang.json" },
},
defaults = {
- lazy = true, -- every plugin is lazy-loaded by default
+ -- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.
+ -- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default.
+ lazy = false,
version = "*", -- try installing the latest stable version for plugins that support semver
},
install = { colorscheme = { "tokyonight", "habamax" } },