nvim: plugins: Make packer not fetch/pull tags
Upstream repos overwrite tags like release and then PackerSync complains about failing to update since existing tags would be clobbered after an update.
This commit is contained in:
parent
4c737fb42b
commit
f04308f569
1 changed files with 10 additions and 1 deletions
|
@ -91,4 +91,13 @@ local init = function ()
|
||||||
use 'christoomey/vim-tmux-navigator'
|
use 'christoomey/vim-tmux-navigator'
|
||||||
end
|
end
|
||||||
|
|
||||||
return require('packer').startup(init)
|
local config = {
|
||||||
|
git = {
|
||||||
|
subcommands = {
|
||||||
|
update = 'pull --ff-only --progress --rebase=false --no-tags',
|
||||||
|
fetch = 'fetch --depth 999999 --progress --no-tags',
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return require('packer').startup(init, config)
|
||||||
|
|
Loading…
Reference in a new issue