From ea0f4bf8ffade657b1d45152dbc183d4679e75c4 Mon Sep 17 00:00:00 2001 From: Elvis Claros Castro Date: Fri, 12 Jul 2024 11:18:14 -0300 Subject: Feat: PI --- lua/alpha/packer_install.lua | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 lua/alpha/packer_install.lua (limited to 'lua/alpha/packer_install.lua') diff --git a/lua/alpha/packer_install.lua b/lua/alpha/packer_install.lua deleted file mode 100644 index 9ef6658..0000000 --- a/lua/alpha/packer_install.lua +++ /dev/null @@ -1,27 +0,0 @@ -local download_packer = function() - if vim.fn.input "Download Packer? (y for yes)" ~= "y" then - return - end - - local directory = string.format("%s/site/pack/packer/start/", vim.fn.stdpath "data") - - vim.fn.mkdir(directory, "p") - - local out = vim.fn.system( - string.format("git clone %s %s", "https://github.com/wbthomason/packer.nvim", directory .. "/packer.nvim") - ) - - print(out) - print "Downloading packer.nvim..." - print "( You'll need to restart now )" -end - -return function() - if not pcall(require, "packer") then - download_packer() - - return true - end - - return false -end -- cgit v1.2.3