wbthomason / packer.nvim

A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
MIT License
7.82k stars 266 forks source link

Packer should remove and clone the github repo if the remote url is changed #959

Open glyh opened 2 years ago

glyh commented 2 years ago

Describe the feature

This is useful when someone is using CDNs for github, when packer is syncing, it should through away the remote for old CDN(which is not working), and download from the new CDN. This comes handy but can be replace by something like rm -rf ~/.local/share/nvim/site