From d27a67fa0da6e30775588a488b184b0085b4f722 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Tue, 3 Jan 2023 00:20:52 +0100 Subject: test: use lazy instead of packer --- lua/alpha/lazy.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lua/alpha/lazy.lua (limited to 'lua/alpha/lazy.lua') diff --git a/lua/alpha/lazy.lua b/lua/alpha/lazy.lua new file mode 100644 index 0000000..13754d4 --- /dev/null +++ b/lua/alpha/lazy.lua @@ -0,0 +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("alpha.lazy_plugins") -- cgit v1.2.3