From 74ad56ff68f9853a3cdb6004bf01162911bcadd6 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Mon, 31 Oct 2022 16:27:12 +0100 Subject: refactor(installer): skip unstable headless update (#3338) --- lua/lvim/plugin-loader.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lua/lvim/plugin-loader.lua') diff --git a/lua/lvim/plugin-loader.lua b/lua/lvim/plugin-loader.lua index f6cb4651..1f574bba 100644 --- a/lua/lvim/plugin-loader.lua +++ b/lua/lvim/plugin-loader.lua @@ -42,11 +42,10 @@ function plugin_loader.init(opts) end if not utils.is_directory(install_path) then - vim.fn.system { "git", "clone", "--depth", "1", "https://github.com/wbthomason/packer.nvim", install_path } + print "Initializing first time setup" + print "Installing packer" + print(vim.fn.system { "git", "clone", "--depth", "1", "https://github.com/wbthomason/packer.nvim", install_path }) vim.cmd "packadd packer.nvim" - -- IMPORTANT: we only set this the very first time to avoid constantly triggering the rollback function - -- https://github.com/wbthomason/packer.nvim/blob/c576ab3f1488ee86d60fd340d01ade08dcabd256/lua/packer.lua#L998-L995 - init_opts.snapshot = default_snapshot end local status_ok, packer = pcall(require, "packer") -- cgit v1.2.3