junegunn / vim-plug

:hibiscus: Minimalist Vim Plugin Manager
https://junegunn.github.io/vim-plug/
MIT License
34.13k stars 1.93k forks source link

PlugClean wants to clean frozen diverged package #1152

Closed elig0n closed 7 months ago

elig0n commented 2 years ago

I have a local package which diverged from its remote due to changes I committed. When I run :PlugClean it would appear as an invalid plugin prompted for deletion despite having it set { 'frozen': 1}


Latest vim-plug version

junegunn commented 7 months ago

Currently frozen only means that vim-plug will not update the plugin. It doesn't mean that vim-plug will not try to inspect it and remove it. But I think it makes sense to make PlugClean ignore 'frozen' plugins.