commit a69a6bfe28f1d2dd7e2d3a0208d1e03d2bb803c7
parent 8767bc045160fd067c95cb8a4d03af5c906be008
Author: Tomas Nemec <nemi@skaut.cz>
Date: Sun, 19 Dec 2021 15:13:08 +0100
update
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/init.lua b/init.lua
@@ -1,4 +1,5 @@
local install_path = vim.fn.stdpath('data') .. '/site/pack/packer/opt/packer.nvim'
+
if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
vim.api.nvim_command('!git clone --depth=1 https://github.com/wbthomason/packer.nvim ' .. install_path)
end