Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accidently run pack install, which empties my .packfile #25

Closed
gou4shi1 opened this issue May 25, 2018 · 6 comments
Closed

Accidently run pack install, which empties my .packfile #25

gou4shi1 opened this issue May 25, 2018 · 6 comments

Comments

@gou4shi1
Copy link
Contributor

gou4shi1 commented May 25, 2018

(On ubuntu 16.04 vim 8.1)

Before that, I have install many plugins
Accidently, I run pack install
(this command shows something like that:

 [Chiel92/vim-autoformat] Plugin already installed under "/home/gou4shi1/.vim/pack/formatting/start/vim-autoformat"

and then I found that ~/.vim/.pack/packfile goes empty

Can I recovery it?

@gou4shi1
Copy link
Contributor Author

I find that if I install a installed plugin, this plugin will be removed from packfile

@fugokidi
Copy link

fugokidi commented Jun 6, 2018

@gou4shi1 it happened to me as well, can you recover it?

@alexanderjeurissen
Copy link

alexanderjeurissen commented Jun 13, 2018

@gou4shi1 @fugokidi

Tl;DR Running pack generate should resolve the issue.

Why?: It seems that pack install clears the pack file, but if you take a closer look the plugins are still present in the .pack folder. pack generate regerenates the pack file based on the installed plugins.

@gou4shi1
Copy link
Contributor Author

@alexanderjeurissen pack generate will not generate .pack/packfile

@maralla
Copy link
Owner

maralla commented Jun 26, 2018

You can upgrade to the latest version to resolve the problem.

@gou4shi1
Copy link
Contributor Author

@maralla work like a charm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants