kristijanhusak / vim-packager

Vim plugin manager that utilizes "jobs" and "pack" features.
MIT License
245 stars 9 forks source link

Add setting to default to 'opt' type #18

Closed comfortablynick closed 4 years ago

comfortablynick commented 4 years ago

Thanks for the plugin, I think it's the best way to manage vim packages right now. I currently have a shim function that sets the plugins to {'type': 'opt'} by default. I was wondering if there is any interest in incorporating this into the plugin.

I generally only put filetype plugins in 'start', but maybe my usage is not common.

kristijanhusak commented 4 years ago

Yeah, i added it. Pass the default type to packager#init like this:

call packager#init({'default_plugin_type': 'opt'})

Let me know if it works.

comfortablynick commented 4 years ago

Wow, that was fast! It works great, thank you.