aboutsummaryrefslogblamecommitdiff
path: root/lua/pacman.lua
blob: b494ae54982cde62dff7610fd629ea691b1a2b54 (plain) (tree)






















                                                       
local path = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
local repo = "https://github.com/folke/lazy.nvim.git"

local lazy_init = function()
	vim.print " 󰦗 downloading lazy.nvim"

	vim.fn.system({
		"git",
		"clone",
		"--filter=blob:none",
		repo,
		"--branch=stable",
		path,
	})

	vim.print ""
	vim.cmd "redraw"
end

if not vim.loop.fs_stat(path) then
	lazy_init()
end
vim.opt.rtp:prepend(path)