aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-07-04 17:54:47 +0800
committerjdhao <jdhao@hotmail.com>2021-07-04 17:54:47 +0800
commit03f600d5809d36afc9b3e00e373bfe6831731e2a (patch)
tree7c0ce3a9ea6e2722107f76e46407c927f96addae
parentf9484a662366ab235c8fb3a821df9a0a13289441 (diff)
update packer settings
-rw-r--r--lua/plugins.lua2
1 files changed, 1 insertions, 1 deletions
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