From a16575c5395139c7eb1ea714fddf2bbcd8239f35 Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Thu, 18 Jan 2024 14:06:12 +0000 Subject: [PATCH] Added the lazy bootstrap --- lazy-lock.json | 1 - lua/andr3/lazy.lua | 10 ++++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/lazy-lock.json b/lazy-lock.json index 0541ffe..0190eeb 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -1,6 +1,5 @@ { "ayu-vim": { "branch": "master", "commit": "0745635421688ce777f663d13531996cb4da6514" }, - "bubblegum-theme": { "branch": "main", "commit": "105b1302ee54abae9abc199710b94a6098572a8e" }, "cellular-automaton.nvim": { "branch": "main", "commit": "b7d056dab963b5d3f2c560d92937cb51db61cb5b" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, "cmp-cmdline": { "branch": "main", "commit": "8ee981b4a91f536f52add291594e89fb6645e451" }, diff --git a/lua/andr3/lazy.lua b/lua/andr3/lazy.lua index 230b549..bef3e8e 100644 --- a/lua/andr3/lazy.lua +++ b/lua/andr3/lazy.lua @@ -1,4 +1,14 @@ local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" +if not vim.loop.fs_stat(lazypath) then + vim.fn.system({ + "git", + "clone", + "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", -- latest stable release + lazypath, + }) +end vim.opt.rtp:prepend(lazypath) require('lazy').setup({