]> git.localhorst.tv Git - nvim-config.git/commitdiff
feat(lazy): set `config.defaults.lazy = false`. Better for new users
authorFolke Lemaitre <folke.lemaitre@gmail.com>
Mon, 16 Jan 2023 15:53:22 +0000 (16:53 +0100)
committerFolke Lemaitre <folke.lemaitre@gmail.com>
Mon, 16 Jan 2023 15:53:22 +0000 (16:53 +0100)
lua/config/lazy.lua

index 8a3b188ebc495a6d47884445954e8ee24c59750b..8a318d3c9dcec350fd33f8816170784844b5c420 100644 (file)
@@ -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" } },