minpac icon indicating copy to clipboard operation
minpac copied to clipboard

Set default type in init

Open samuelallan72 opened this issue 5 years ago • 0 comments

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')

samuelallan72 avatar Dec 08 '18 10:12 samuelallan72