- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 2k
plugfile
        Junegunn Choi edited this page Aug 1, 2014 
        ·
        1 revision
      
    If a Vim plugin specifies its dependent plugins in Plugfile in its root
directory, vim-plug will automatically source it recursively during the
installation.
A Plugfile should contain a set of Plug commands for the dependent plugins.
I've created three dummy repositories with Plugfiles as an example to this scheme.
- 
junegunn/dummy1
- Plugfile includes Plug 'junegunn/dummy2'
 
- Plugfile includes 
- 
junegunn/dummy2
- Plugfile includes Plug 'junegunn/dummy3'
 
- Plugfile includes 
- junegunn/dummy3
If you put Plug 'junegunn/dummy1' in your configuration file, reload it, and
run :PlugInstall,
- vim-plug first installs dummy1
- And sees if the repository has Plugfile
- Plugfile is loaded and vim-plug discovers dependent plugins
- Dependent plugins are then installed as well, and their Plugfiles are examined and their dependencies are resolved recursively.
