Browse Source

add user# scoped autogroup

events
gmarik 15 years ago
parent
commit
bf2d518ea5
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      autoload/vundle/installer.vim

+ 5
- 0
autoload/vundle/installer.vim View File

@ -16,23 +16,28 @@ func! vundle#installer#install(bang, ...) abort
call s:doautocmd('BundleInstallPre', 'vundle#bundle') call s:doautocmd('BundleInstallPre', 'vundle#bundle')
call s:doautocmd('BundleInstallPre', 'bundle#'.tolower(bundle.name)) call s:doautocmd('BundleInstallPre', 'bundle#'.tolower(bundle.name))
call s:doautocmd('BundleInstallPre', 'user#'.tolower(bundle.name))
if a:bang || !(bundle.installed()) if a:bang || !(bundle.installed())
call s:doautocmd('BundleInstall', 'vundle#bundle') call s:doautocmd('BundleInstall', 'vundle#bundle')
call s:doautocmd('BundleInstall', 'bundle#'.tolower(bundle.name)) call s:doautocmd('BundleInstall', 'bundle#'.tolower(bundle.name))
call s:doautocmd('BundleInstall', 'user#'.tolower(bundle.name))
call s:doautocmd('BundleInstallPost', 'vundle#bundle') call s:doautocmd('BundleInstallPost', 'vundle#bundle')
call s:doautocmd('BundleInstallPost', 'bundle#'.tolower(bundle.name)) call s:doautocmd('BundleInstallPost', 'bundle#'.tolower(bundle.name))
call s:doautocmd('BundleInstallPost', 'user#'.tolower(bundle.name))
call add(new_bundles, bundle) call add(new_bundles, bundle)
else else
call s:doautocmd('BundleInstalled', 'vundle#bundle') call s:doautocmd('BundleInstalled', 'vundle#bundle')
call s:doautocmd('BundleInstalled', 'bundle#'.tolower(bundle.name)) call s:doautocmd('BundleInstalled', 'bundle#'.tolower(bundle.name))
call s:doautocmd('BundleInstalled', 'user#'.tolower(bundle.name))
endif endif
lcd `=cwd` lcd `=cwd`
endfor endfor
let g:bundles = new_bundles let g:bundles = new_bundles
call s:doautocmd('BundlesInstallPost', 'vundle#bundle') call s:doautocmd('BundlesInstallPost', 'vundle#bundle')
call s:doautocmd('BundlesInstallPost', 'user#bundle')
endf endf
" TODO: improve this " TODO: improve this


Loading…
Cancel
Save