local data_path = vim.fn.stdpath "data" local aniseed_path = data_path .. "/aniseed/aniseed.nvim" local lazy_path = data_path .. "/lazy/lazy.nvim" local function ensure(user, plugin, path) if not vim.loop.fs_stat(path) then vim.fn.system { "git", "clone", "--filter=blob:none", "--single-branch", string.format("https://github.com/%s/%s.git", user, plugin), path, } end end ensure("folke", "lazy.nvim", lazy_path) ensure("Olical", "aniseed", aniseed_path) vim.opt.runtimepath:prepend(lazy_path) vim.opt.runtimepath:prepend(aniseed_path) vim.g["aniseed#env"] = { module = "init", compile = true, }