From 73bdbc784e5e0bb8402702920da91b380fa2adaa Mon Sep 17 00:00:00 2001 From: Brian Nash Date: Wed, 18 Feb 2015 15:08:31 -0500 Subject: [PATCH] Added documentation for dependency support. --- doc/vundle.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/doc/vundle.txt b/doc/vundle.txt index 198584b..c04ba06 100644 --- a/doc/vundle.txt +++ b/doc/vundle.txt @@ -12,6 +12,7 @@ 3.5. Searching Plugins |vundle-plugins-search| 3.6. Listing Plugins |vundle-plugins-list| 3.7. Cleaning Up |vundle-plugins-cleanup| + 3.8. Dependencies |vundle-plugins-dependencies| 4. Interactive Mode |vundle-interactive| 5. Key Mappings |vundle-keymappings| 6. Options |vundle-options| @@ -315,6 +316,20 @@ in your `.vimrc` but present in your bundle installation directory Automatically confirm removal of unused bundles. +3.8 DEPENDENCIES ~ + *vundle-plugins-dependencies* + +By default, Vundle automatically reads plugin dependencies from +`addon-info.json` if it is found in the root of a plugin folder. This aims to +be compatible with vim-addon-manager. + +This behavior can be disabled by adding the following line to your `.vimrc` +before the first call to Vundle: +> + let g:vundle_no_deps = 1 +< +For more information, see |vundle-options|. + ============================================================================= 4. INTERACTIVE MODE ~ *vundle-interactive* @@ -368,6 +383,12 @@ KEY | DESCRIPTION > Plugin 'sjl/gundo.vim' -> git@github.com:sjl/gundo.git +> + let g:vundle_no_deps = 1 +< + This option makes Vundle ignore any dependencies stated by a plugin, + preventing these dependencies from being installed automatically. + ============================================================================= 7. VUNDLE INTERFACE CHANGE ~ *vundle-interface-change* *:Bundle* *:BundleInstall!*