From b586a17c6b0dbc116e5dc34fe5e706871806f867 Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Thu, 27 Jul 2023 06:57:52 -0400 Subject: [PATCH] fix: set variable if it's a first install --- lua/config/lazy.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua index 0c4d5b5..b8ac0ba 100644 --- a/lua/config/lazy.lua +++ b/lua/config/lazy.lua @@ -1,8 +1,8 @@ local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim" if not vim.loop.fs_stat(lazypath) then + vim.g.astronvim_first_install = true -- stylua: ignore - vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", - lazypath }) + vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath }) end vim.opt.rtp:prepend(vim.env.LAZY or lazypath)