Skip to content

Set default type in init #68

@samuelallan72

Description

@samuelallan72

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions