Clean up lazy-bootstrap default github/master tip master

Thu, 06 Feb 2025 00:20:33 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 06 Feb 2025 00:20:33 -0600
changeset 1187
ed422782cd13
parent 1186
ab57e995af63

Clean up lazy-bootstrap

.config/nvim/lua/lazy-bootstrap.lua file | annotate | diff | comparison | revisions
--- a/.config/nvim/lua/lazy-bootstrap.lua
+++ b/.config/nvim/lua/lazy-bootstrap.lua
@@ -1,15 +1,11 @@
 local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
-if not vim.loop.fs_stat(lazypath) then
+if not vim.uv.fs_stat(lazypath) then
   vim.fn.system({
-    "git",
-    "clone",
-    "--filter=blob:none",
-    "https://github.com/folke/lazy.nvim.git",
-    "--branch=stable",
-    lazypath,
+    "git", "clone", "--filter=blob:none", "--branch=stable",
+    "https://github.com/folke/lazy.nvim.git", lazypath,
   })
 end
-vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
+vim.opt.rtp:prepend(lazypath)
 
 require("lazy").setup({
   spec = {
@@ -37,10 +33,10 @@ require("lazy").setup({
     },
     { import = "plugins" },
   },
+  concurrency = 4,
   change_detection = { enabled = false },
-  defaults = {
-    version = "*",
-  },
+  defaults = { version = "*" },
+  local_spec = false,  -- don't load .lazy.lua files
   performance = {
     rtp = {
       disabled_plugins = {

mercurial