1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

update packer settings

This commit is contained in:
jdhao 2021-07-04 17:54:47 +08:00
parent f9484a6623
commit 03f600d580

View File

@ -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