install.sh: Do shallow clone for packer.nvim
This commit is contained in:
parent
484751c422
commit
c38c4ec0cf
@ -39,7 +39,7 @@ _setup_packer() {
|
||||
|
||||
printf "\n%s\n" "=> Cloning packer.."
|
||||
if "${_GIT}" clone "${_PACKER_REPO_URL}" \
|
||||
"${_PACKER_PATH}"; then
|
||||
"${_PACKER_PATH}" --depth 20; then
|
||||
printf "%s\n" "=> Packer Installed!"
|
||||
else
|
||||
printf "Error: Couldn't clone packer\n"
|
||||
|
Loading…
Reference in New Issue
Block a user