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

Checking for missing packages? #212

Closed
fortes opened this issue Apr 12, 2015 · 5 comments
Closed

Checking for missing packages? #212

fortes opened this issue Apr 12, 2015 · 5 comments
Labels

Comments

@fortes
Copy link

fortes commented Apr 12, 2015

Is there a way to check for missing packages? This is a nice feature of NeoBundle, in order to make sure everything in .vimrc has been installed.

@starcraftman
Copy link
Collaborator

@fortes I believe you want PlugStatus.

Edit: Also doing a PlugUpdate will install missing plugins if they aren't found. Just fyi.

@fortes
Copy link
Author

fortes commented Apr 13, 2015

@starcraftman Awesome, not sure how I missed that! Is there a way to have it autoclose the window that pops?

@junegunn
Copy link
Owner

This is probably what you want:

if !empty(filter(copy(g:plugs), '!isdirectory(v:val.dir)'))
  autocmd VimEnter * PlugInstall | q
endif

@starcraftman
Copy link
Collaborator

@fortes q instantly closes it. Otherwise, you need some solution like junegunn's or your own nmap that ends in q.

@starcraftman
Copy link
Collaborator

@junegunn I think we can close this one, doesn't seem to have any more questions.

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

No branches or pull requests

3 participants