diff --git a/.config/nvim/lua/lazy-bootstrap.lua b/.config/nvim/lua/lazy-bootstrap.lua --- 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 = {