diff options
| author | jdhao <jdhao@hotmail.com> | 2021-07-04 17:54:47 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-07-04 17:54:47 +0800 |
| commit | 03f600d5809d36afc9b3e00e373bfe6831731e2a (patch) | |
| tree | 7c0ce3a9ea6e2722107f76e46407c927f96addae /lua | |
| parent | f9484a662366ab235c8fb3a821df9a0a13289441 (diff) | |
update packer settings
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/plugins.lua | 2 |
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 |
