From 03f600d5809d36afc9b3e00e373bfe6831731e2a Mon Sep 17 00:00:00 2001 From: jdhao Date: Sun, 4 Jul 2021 17:54:47 +0800 Subject: [PATCH] update packer settings --- lua/plugins.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins.lua b/lua/plugins.lua index 413b122..cc8c6f5 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -5,7 +5,7 @@ local fn = vim.fn local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim' if fn.empty(fn.glob(install_path)) > 0 then - fn.system({'git', 'clone', 'https://github.com/wbthomason/packer.nvim', install_path}) + fn.system({'git', 'clone', '--depth=1', 'https://github.com/wbthomason/packer.nvim', install_path}) execute 'packadd packer.nvim' end