kristijanhusak / vim-packager

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

Controlling load order #27

Closed ghost closed 4 years ago

ghost commented 4 years ago

I like the manager. Super light and works great. One question: Is there any way to control load order. For example vim-devicons must load before vim-startify for icons to work.

Thanks again!

kristijanhusak commented 4 years ago

Loading is done by Vim. Packager manages only install/update/delete. You could install both of those into opt folder and load them manually:

function PackagerInit() 
call packager#add('... /vim-devicons', { 'type' : 'opt' }) 
call packager#add('... /vim-startify', { 'type' : 'opt' }) 
endfunction

packadd vim-devicons
packadd vim-startify