nvim: packer: no shallow clones

This commit is contained in:
tastytea 2022-08-25 18:51:30 +02:00
parent f27ed54f91
commit 3b5e46a5c6
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -11,7 +11,7 @@ if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
vim.cmd [[packadd packer.nvim]]
end
require('packer').startup(function(use)
require('packer').startup({function(use)
use { 'https://github.com/wbthomason/packer.nvim' }
-- settings
@ -143,7 +143,11 @@ require('packer').startup(function(use)
elseif not io.open(vim.fn.stdpath('config') .. '/plugin') then
require('packer').install()
end
end)
end,
config = {
git = {
depth = 999999
}}})
-- source file, install and compile plugins when this file is written
vim.api.nvim_create_augroup('config_plugins', { clear = true })