From d4eb8c3545687f5abf0e1566a07bb2616a8d0c14 Mon Sep 17 00:00:00 2001 From: gmarik Date: Sat, 30 Apr 2011 14:00:56 -0500 Subject: [PATCH] Rename Event according to Vim conventions --- autoload/vundle.vim | 4 ++-- autoload/vundle/installer.vim | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/autoload/vundle.vim b/autoload/vundle.vim index 6367a19..5811370 100644 --- a/autoload/vundle.vim +++ b/autoload/vundle.vim @@ -36,6 +36,6 @@ endf augroup bundle#command-t au! - au User PreInstall echo 'ok' - au User PostInstall !cd ruby/command-t && ruby extconf.rb && make clean && make + au User BundleInstallPre echo 'ok' + au User BundleInstallPost !cd ruby/command-t && ruby extconf.rb && make clean && make augroup END diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 21e176f..083d432 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -79,7 +79,7 @@ func! s:sync(bang, bundle) abort if 0 <= index(s:load_augroups(), aug_name) lcd `=a:bundle.path()` - exec 'doautocmd '.l:aug_name.' User PostInstall' + exec 'doautocmd '.l:aug_name.' User BundleInstallPost' lcd `=cwd` endif