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

Comments

Projects
None yet
3 participants
@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

This comment has been minimized.

Copy link
Collaborator

starcraftman commented Apr 12, 2015

@fortes I believe you want PlugStatus.

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

@fortes

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link
Owner

junegunn commented Apr 13, 2015

This is probably what you want:

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

@junegunn junegunn added the question label Apr 13, 2015

@starcraftman

This comment has been minimized.

Copy link
Collaborator

starcraftman commented Apr 13, 2015

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

@starcraftman

This comment has been minimized.

Copy link
Collaborator

starcraftman commented Apr 17, 2015

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

@junegunn junegunn closed this Apr 17, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment