From ac1eaeb785d67ddc1369985f655dfc797e97e0f0 Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Wed, 27 Mar 2024 07:14:34 -0400 Subject: [PATCH] fix: update lazy bootstrapping for nightly and stable neovim --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 3dd86f7..2ce1cdd 100644 --- a/init.lua +++ b/init.lua @@ -1,7 +1,7 @@ -- This file simply bootstraps the installation of Lazy.nvim and then calls other files for execution -- This file doesn't necessarily need to be touched, BE CAUTIOUS editing this file and proceed at your own risk. local lazypath = vim.env.LAZY or vim.fn.stdpath "data" .. "/lazy/lazy.nvim" -if not (vim.env.LAZY or vim.loop.fs_stat(lazypath)) then +if not (vim.env.LAZY or (vim.uv or vim.loop).fs_stat(lazypath)) then -- stylua: ignore vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath }) end