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

Set default type in init #68

Open
samuelallan72 opened this issue Dec 8, 2018 · 0 comments
Open

Set default type in init #68

samuelallan72 opened this issue Dec 8, 2018 · 0 comments

Comments

@samuelallan72
Copy link

It could be useful to set the default type ('start' or 'opt') in minpac#init to reduce verbosity if a majority of added packages would to be of type 'opt'? Eg.

call minpac#init({'package_name': 'bundle'})
call minpac#add('k-takata/minpac', {'type': 'opt'})

Would be the same as:

call minpac#init({'package_name': 'bundle', 'default_type': 'opt'})
call minpac#add('k-takata/minpac')
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

1 participant