fix: set variable if it's a first install

pull/1/head
Micah Halter 2023-07-27 06:57:52 -04:00
parent 4f704ee476
commit b586a17c6b
No known key found for this signature in database
GPG Key ID: 4224A6EA9A8CAAA8
1 changed files with 2 additions and 2 deletions

View File

@ -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)